summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp
diff options
context:
space:
mode:
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);