notaz.gp2x.de
/
mupen64plus-pandora.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rice: avoid redundant gl calls
[mupen64plus-pandora.git]
/
source
/
gles2rice
/
src
/
OGLES2FragmentShaders.h
diff --git
a/source/gles2rice/src/OGLES2FragmentShaders.h
b/source/gles2rice/src/OGLES2FragmentShaders.h
index
70b97cf
..
2245cb0
100755
(executable)
--- a/
source/gles2rice/src/OGLES2FragmentShaders.h
+++ b/
source/gles2rice/src/OGLES2FragmentShaders.h
@@
-45,6
+45,14
@@
typedef struct {
GLint FogColorLocation;
GLint FogMinMaxLocation;
GLint FogColorLocation;
GLint FogMinMaxLocation;
+ float PrimColors[4];
+ float EnvColors[4];
+ float PrimLODFrac;
+ float EnvLODFrac;
+ float AlphaRef;
+ float FogColors[4];
+ float FogMin;
+ float FogMax;
} OGLShaderCombinerSaveType;
} OGLShaderCombinerSaveType;
@@
-87,6
+95,9
@@
private:
bool bFogState;
bool bFogPreviousState;
bool bFogState;
bool bFogPreviousState;
+ void UseProgram(GLuint program);
+ GLuint currentProgram;
+
#ifdef DEBUGGER
void DisplaySimpleMuxString(void);
#endif
#ifdef DEBUGGER
void DisplaySimpleMuxString(void);
#endif