summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@gmail.com>2013-03-29 22:24:49 +0100
committerNeoBrainX <NeoBrainX@gmail.com>2013-03-29 22:24:49 +0100
commit2afd892e466e656a2dc623bb5d6574d0d6c5533a (patch)
tree1e52ce37458c4072bdbf043e539f0a1858b3fb57 /Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp
parente31c2aa6013d6a95358251610c15820a34e65a35 (diff)
ShaderGen: More interface cleanups. Less wtfs :)
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp b/Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp
index f22ebef0df..5d6b8eb5b5 100644
--- a/Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp
+++ b/Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp
@@ -183,7 +183,7 @@ bool LineGeometryShader::SetShader(u32 components, float lineWidth,
{
// Generate new shader. Warning: not thread-safe.
static char buffer[16384];
- ShaderCode<u32> code;
+ ShaderCode code;
code.SetBuffer(buffer);
GenerateVSOutputStructForGS(code, components, API_D3D11);
code.Write("\n%s", LINE_GS_COMMON);