2009-01-08 22:56:17 +00:00
|
|
|
diff --git a/clutter/cogl/gles/cogl-gles2-wrapper.h b/clutter/cogl/gles/cogl-gles2-wrapper.h
|
2009-01-16 12:16:28 +00:00
|
|
|
index cb700cc..f126993 100644
|
2009-01-08 22:56:17 +00:00
|
|
|
--- a/clutter/cogl/gles/cogl-gles2-wrapper.h
|
|
|
|
+++ b/clutter/cogl/gles/cogl-gles2-wrapper.h
|
2009-01-15 18:53:52 +00:00
|
|
|
@@ -203,8 +203,6 @@ struct _CoglGles2WrapperShader
|
|
|
|
void cogl_gles2_wrapper_init (CoglGles2Wrapper *wrapper);
|
|
|
|
void cogl_gles2_wrapper_deinit (CoglGles2Wrapper *wrapper);
|
|
|
|
|
|
|
|
-void cogl_wrap_glClearColorx (GLclampx r, GLclampx g, GLclampx b, GLclampx a);
|
|
|
|
-
|
|
|
|
void cogl_wrap_glPushMatrix ();
|
|
|
|
void cogl_wrap_glPopMatrix ();
|
|
|
|
void cogl_wrap_glMatrixMode (GLenum mode);
|
|
|
|
@@ -239,12 +237,12 @@ void cogl_wrap_glDisableClientState (GLenum array);
|
|
|
|
|
|
|
|
void cogl_wrap_glAlphaFunc (GLenum func, GLclampf ref);
|
|
|
|
|
2009-01-16 12:16:28 +00:00
|
|
|
-void cogl_wrap_glColor4f (GLclampx r, GLclampx g, GLclampx b, GLclampx a);
|
2009-01-15 18:53:52 +00:00
|
|
|
+void cogl_wrap_glColor4f (GLclampf r, GLclampf g, GLclampf b, GLclampf a);
|
|
|
|
|
2009-01-16 12:16:28 +00:00
|
|
|
void cogl_wrap_glClipPlanef (GLenum plane, GLfloat *equation);
|
2009-01-15 15:24:05 +00:00
|
|
|
|
|
|
|
void cogl_wrap_glGetIntegerv (GLenum pname, GLint *params);
|
|
|
|
-void cogl_wrap_glGetFixedv (GLenum pname, GLfloat *params);
|
|
|
|
+void cogl_wrap_glGetFloatv (GLenum pname, GLfloat *params);
|
|
|
|
|
2009-01-16 12:16:28 +00:00
|
|
|
void cogl_wrap_glFogf (GLenum pname, GLfloat param);
|
|
|
|
void cogl_wrap_glFogfv (GLenum pname, const GLfloat *params);
|
2009-01-16 10:50:53 +00:00
|
|
|
@@ -273,35 +271,34 @@ void _cogl_gles2_clear_cache_for_program (CoglHandle program);
|
2009-01-15 18:53:52 +00:00
|
|
|
/* If we're not using GL ES 2 then just use the GL functions
|
|
|
|
directly */
|
|
|
|
|
2009-01-16 10:50:53 +00:00
|
|
|
-#define cogl_wrap_glClearColorx glClearColorx
|
2009-01-15 18:53:52 +00:00
|
|
|
#define cogl_wrap_glDrawArrays glDrawArrays
|
|
|
|
#define cogl_wrap_glDrawElements glDrawElements
|
|
|
|
#define cogl_wrap_glPushMatrix glPushMatrix
|
2009-01-16 10:50:53 +00:00
|
|
|
#define cogl_wrap_glPopMatrix glPopMatrix
|
|
|
|
#define cogl_wrap_glMatrixMode glMatrixMode
|
|
|
|
#define cogl_wrap_glLoadIdentity glLoadIdentity
|
2009-01-16 12:16:28 +00:00
|
|
|
-#define cogl_wrap_glMultMatrixf glMultMatrixx
|
|
|
|
-#define cogl_wrap_glFrustumf glFrustumx
|
|
|
|
-#define cogl_wrap_glScalef glScalex
|
|
|
|
-#define cogl_wrap_glTranslatef glTranslatex
|
|
|
|
-#define cogl_wrap_glRotatef glRotatex
|
|
|
|
-#define cogl_wrap_glOrthof glOrthox
|
|
|
|
+#define cogl_wrap_glMultMatrixf glMultMatrixf
|
|
|
|
+#define cogl_wrap_glFrustumf glFrustumf
|
|
|
|
+#define cogl_wrap_glScalef glScalef
|
|
|
|
+#define cogl_wrap_glTranslatef glTranslatef
|
|
|
|
+#define cogl_wrap_glRotatef glRotatef
|
|
|
|
+#define cogl_wrap_glOrthof glOrthof
|
2009-01-16 10:50:53 +00:00
|
|
|
#define cogl_wrap_glEnable glEnable
|
|
|
|
#define cogl_wrap_glDisable glDisable
|
|
|
|
#define cogl_wrap_glTexCoordPointer glTexCoordPointer
|
|
|
|
#define cogl_wrap_glVertexPointer glVertexPointer
|
|
|
|
#define cogl_wrap_glColorPointer glColorPointer
|
|
|
|
#define cogl_wrap_glNormalPointer glNormalPointer
|
2009-01-16 12:16:28 +00:00
|
|
|
-#define cogl_wrap_glTexEnvf glTexEnvx
|
|
|
|
+#define cogl_wrap_glTexEnvf glTexEnvf
|
2009-01-15 18:53:52 +00:00
|
|
|
#define cogl_wrap_glEnableClientState glEnableClientState
|
|
|
|
#define cogl_wrap_glDisableClientState glDisableClientState
|
|
|
|
#define cogl_wrap_glAlphaFunc glAlphaFunc
|
2009-01-16 12:16:28 +00:00
|
|
|
-#define cogl_wrap_glColor4f glColor4x
|
|
|
|
-#define cogl_wrap_glClipPlanef glClipPlanex
|
2009-01-15 18:53:52 +00:00
|
|
|
+#define cogl_wrap_glColor4f glColor4f
|
2009-01-16 12:16:28 +00:00
|
|
|
+#define cogl_wrap_glClipPlanef glClipPlanef
|
2009-01-08 22:56:17 +00:00
|
|
|
#define cogl_wrap_glGetIntegerv glGetIntegerv
|
|
|
|
-#define cogl_wrap_glGetFixedv glGetFixedv
|
2009-01-16 12:16:28 +00:00
|
|
|
-#define cogl_wrap_glFogf glFogx
|
|
|
|
-#define cogl_wrap_glFogfv glFogxv
|
2009-01-15 15:24:05 +00:00
|
|
|
+#define cogl_wrap_glGetFloatv glGetFloatv
|
2009-01-16 12:16:28 +00:00
|
|
|
+#define cogl_wrap_glFogf glFogf
|
|
|
|
+#define cogl_wrap_glFogfv glFogfv
|
2009-01-08 22:56:17 +00:00
|
|
|
#define cogl_wrap_glTexParameteri glTexParameteri
|
2009-01-16 10:50:53 +00:00
|
|
|
|
|
|
|
/* The extra third parameter of the bind texture wrapper isn't needed
|