summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@gmail.com>2013-03-27 00:17:46 +0100
committerNeoBrainX <NeoBrainX@gmail.com>2013-03-27 00:17:46 +0100
commit11fae2e1cbce03333bdceb613eb81953adae930b (patch)
tree5e447dbe39b06aede8f10f8a5573c321164c5062 /Source/Core
parentf8d2936840482b9132a751466c3c056c5988fa9a (diff)
Fix Windows build, try 4.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/Src/VertexShaderGen.cpp5
-rw-r--r--Source/Core/VideoCommon/Src/VertexShaderGen.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexShaderGen.cpp b/Source/Core/VideoCommon/Src/VertexShaderGen.cpp
index 3e2daf55d3..88fe24f627 100644
--- a/Source/Core/VideoCommon/Src/VertexShaderGen.cpp
+++ b/Source/Core/VideoCommon/Src/VertexShaderGen.cpp
@@ -536,3 +536,8 @@ void GenerateVertexShaderCode(VertexShaderCode& object, u32 components, API_TYPE
{
GenerateVertexShader<VertexShaderCode>(object, components, api_type);
}
+
+void GenerateVSOutputStructForGS(ShaderCode<u32>& object, u32 components, API_TYPE api_type)
+{
+ GenerateVSOutputStruct<ShaderCode<u32> >(object, components, api_type);
+}
diff --git a/Source/Core/VideoCommon/Src/VertexShaderGen.h b/Source/Core/VideoCommon/Src/VertexShaderGen.h
index 3167229fe3..b6b176c806 100644
--- a/Source/Core/VideoCommon/Src/VertexShaderGen.h
+++ b/Source/Core/VideoCommon/Src/VertexShaderGen.h
@@ -114,6 +114,6 @@ typedef ShaderCode<vertex_shader_uid_data> VertexShaderCode;
void GetVertexShaderUid(VertexShaderUid& object, u32 components, API_TYPE api_type);
void GenerateVertexShaderCode(VertexShaderCode& object, u32 components, API_TYPE api_type);
-
+void GenerateVSOutputStructForGS(ShaderCode<u32>& object, u32 components, API_TYPE api_type);
#endif // GCOGL_VERTEXSHADER_H