GeometryShaderGen: Declare a prototype for EmitVertex().

This commit is contained in:
Jules Blok 2014-12-15 22:39:03 +01:00
parent 8ae738ff30
commit 861fa1af23

View File

@ -27,6 +27,8 @@ static const char* primitives_d3d[] =
"triangle" "triangle"
}; };
template<class T> static inline void EmitVertex(T& out, const char *vertex, API_TYPE ApiType);
template<class T> template<class T>
static inline void GenerateGeometryShader(T& out, u32 primitive_type, API_TYPE ApiType) static inline void GenerateGeometryShader(T& out, u32 primitive_type, API_TYPE ApiType)
{ {