2007-07-24 Matthew Allum <mallum@openedhand.com>

* clutter/cogl/gles/cogl.c: (cogl_get_bitmasks):
        Fix typo calling glGetIntegerv rather than glGetInteger
This commit is contained in:
Matthew Allum 2007-07-24 12:17:42 +00:00
parent 86b869259e
commit 2bf94df497
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2007-07-24 Matthew Allum <mallum@openedhand.com>
* clutter/cogl/gles/cogl.c: (cogl_get_bitmasks):
Fix typo calling glGetIntegerv rather than glGetInteger
2007-07-24 Matthew Allum <mallum@openedhand.com> 2007-07-24 Matthew Allum <mallum@openedhand.com>
* clutter/cogl/gl/cogl.c: (cogl_get_features): * clutter/cogl/gl/cogl.c: (cogl_get_features):

View File

@ -571,11 +571,11 @@ void
cogl_get_bitmasks (gint *red, gint *green, gint *blue, gint *alpha) cogl_get_bitmasks (gint *red, gint *green, gint *blue, gint *alpha)
{ {
if (red) if (red)
GE( glGetInteger(GL_RED_BITS, red) ); GE( glGetIntegerv(GL_RED_BITS, red) );
if (green) if (green)
GE( glGetInteger(GL_GREEN_BITS, green) ); GE( glGetIntegerv(GL_GREEN_BITS, green) );
if (blue) if (blue)
GE( glGetInteger(GL_BLUE_BITS, blue) ); GE( glGetIntegerv(GL_BLUE_BITS, blue) );
if (alpha) if (alpha)
GE( glGetInteger(GL_ALPHA_BITS, alpha ) ); GE( glGetIntegerv(GL_ALPHA_BITS, alpha ) );
} }