From 45c70be83f2263c22377ac414809d85bb21e25cd Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Wed, 27 Mar 2013 00:20:25 +0100 Subject: [PATCH] Fix Windows build, try 5. --- Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp | 2 +- Source/Plugins/Plugin_VideoDX11/Src/PointGeometryShader.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp b/Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp index 74c58e8d17..f22ebef0df 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/LineGeometryShader.cpp @@ -185,7 +185,7 @@ bool LineGeometryShader::SetShader(u32 components, float lineWidth, static char buffer[16384]; ShaderCode code; code.SetBuffer(buffer); - GenerateVSOutputStruct(code, components, API_D3D11); + GenerateVSOutputStructForGS(code, components, API_D3D11); code.Write("\n%s", LINE_GS_COMMON); std::stringstream numTexCoordsStream; diff --git a/Source/Plugins/Plugin_VideoDX11/Src/PointGeometryShader.cpp b/Source/Plugins/Plugin_VideoDX11/Src/PointGeometryShader.cpp index e6cea19ce9..5976c09ab9 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/PointGeometryShader.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/PointGeometryShader.cpp @@ -179,7 +179,7 @@ bool PointGeometryShader::SetShader(u32 components, float pointSize, static char buffer[16384]; ShaderCode code; code.SetBuffer(buffer); - GenerateVSOutputStruct(code, components, API_D3D11); + GenerateVSOutputStructForGS(code, components, API_D3D11); code.Write("\n%s", POINT_GS_COMMON); std::stringstream numTexCoordsStream;