summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/ProgramShaderCache.h
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-11-01 22:39:31 +0100
committerTillmann Karras <tilkax@gmail.com>2015-11-01 22:39:31 +0100
commit983978ee66cc15c010b2af6703aab866f3a41dcf (patch)
tree3d7a4f5410fb14c06ad0c8c5909ed74f4d22dce8 /Source/Core/VideoBackends/OGL/ProgramShaderCache.h
parent491e1495458e692feacba9dfc3e9ffbc7f17cebb (diff)
VideoCommon: flush vertex manager if components change
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.h')
-rw-r--r--Source/Core/VideoBackends/OGL/ProgramShaderCache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/ProgramShaderCache.h b/Source/Core/VideoBackends/OGL/ProgramShaderCache.h
index ef1c926f73..32e84c07af 100644
--- a/Source/Core/VideoBackends/OGL/ProgramShaderCache.h
+++ b/Source/Core/VideoBackends/OGL/ProgramShaderCache.h
@@ -88,8 +88,8 @@ public:
static PCacheEntry GetShaderProgram();
- static SHADER* SetShader(DSTALPHA_MODE dstAlphaMode, u32 components, u32 primitive_type);
- static void GetShaderId(SHADERUID *uid, DSTALPHA_MODE dstAlphaMode, u32 components, u32 primitive_type);
+ static SHADER* SetShader(DSTALPHA_MODE dstAlphaMode, u32 primitive_type);
+ static void GetShaderId(SHADERUID *uid, DSTALPHA_MODE dstAlphaMode, u32 primitive_type);
static bool CompileShader(SHADER &shader, const char* vcode, const char* pcode, const char* gcode = nullptr);
static GLuint CompileSingleShader(GLuint type, const char *code);