also don't search in the shader cache if the shader isn't changed

This commit is contained in:
degasus
2013-01-15 17:10:43 +01:00
parent 9165ac5a67
commit bb200acdd8
2 changed files with 14 additions and 13 deletions

View File

@ -150,7 +150,7 @@ private:
typedef std::map<ShaderUID, PCacheEntry> PCache;
static PCache pshaders;
static GLuint CurrentFShader, CurrentVShader, CurrentProgram;
static GLuint CurrentProgram;
static ShaderUID CurrentShaderProgram;
static GLuint s_ps_vs_ubo;