From 861fa1af2387567a00c77db8b78a3ac376fef863 Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Mon, 15 Dec 2014 22:39:03 +0100 Subject: [PATCH] GeometryShaderGen: Declare a prototype for EmitVertex(). --- Source/Core/VideoCommon/GeometryShaderGen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/VideoCommon/GeometryShaderGen.cpp b/Source/Core/VideoCommon/GeometryShaderGen.cpp index fabd883ded..37f75ad0d0 100644 --- a/Source/Core/VideoCommon/GeometryShaderGen.cpp +++ b/Source/Core/VideoCommon/GeometryShaderGen.cpp @@ -27,6 +27,8 @@ static const char* primitives_d3d[] = "triangle" }; +template static inline void EmitVertex(T& out, const char *vertex, API_TYPE ApiType); + template static inline void GenerateGeometryShader(T& out, u32 primitive_type, API_TYPE ApiType) {