Fix Windows build, try 5.

This commit is contained in:
NeoBrainX 2013-03-27 00:20:25 +01:00
parent 11fae2e1cb
commit 45c70be83f
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ bool LineGeometryShader::SetShader(u32 components, float lineWidth,
static char buffer[16384];
ShaderCode<u32> code;
code.SetBuffer(buffer);
GenerateVSOutputStruct(code, components, API_D3D11);
GenerateVSOutputStructForGS(code, components, API_D3D11);
code.Write("\n%s", LINE_GS_COMMON);
std::stringstream numTexCoordsStream;

View File

@ -179,7 +179,7 @@ bool PointGeometryShader::SetShader(u32 components, float pointSize,
static char buffer[16384];
ShaderCode<u32> code;
code.SetBuffer(buffer);
GenerateVSOutputStruct(code, components, API_D3D11);
GenerateVSOutputStructForGS(code, components, API_D3D11);
code.Write("\n%s", POINT_GS_COMMON);
std::stringstream numTexCoordsStream;