rice: avoid redundant gl calls
[mupen64plus-pandora.git] / source / gles2rice / src / OGLES2FragmentShaders.h
index 70b97cf..2245cb0 100755 (executable)
@@ -45,6 +45,14 @@ typedef struct {
     GLint FogColorLocation;
     GLint FogMinMaxLocation;
 
+    float PrimColors[4];
+    float EnvColors[4];
+    float PrimLODFrac;
+    float EnvLODFrac;
+    float AlphaRef;
+    float FogColors[4];
+    float FogMin;
+    float FogMax;
 } OGLShaderCombinerSaveType;
 
 
@@ -87,6 +95,9 @@ private:
     bool bFogState;
     bool bFogPreviousState;
 
+    void UseProgram(GLuint program);
+    GLuint currentProgram;
+
 #ifdef DEBUGGER
     void DisplaySimpleMuxString(void);
 #endif