summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/ProgramShaderCache.h
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2015-11-02 11:41:43 +0100
committerPierre Bourdon <delroth@gmail.com>2015-11-02 11:41:43 +0100
commit89f645151357f652a8e5bfef996b611a2992245e (patch)
treee3af8cbfbadf076220b0eb2e26a025ef574702b1 /Source/Core/VideoBackends/OGL/ProgramShaderCache.h
parentbaf438fc9fb3558f78eb1439471727dfdb0084fb (diff)
parent983978ee66cc15c010b2af6703aab866f3a41dcf (diff)
Merge pull request #3218 from Tilka/components
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);