2008-05-23 Emmanuele Bassi <ebassi@openedhand.com>

Bug #912 - Invalid use of int* as parameter for glGetIntegerv

	* clutter/cogl/gl/cogl.c (_cogl_features_init): Use GLint
	instead of int. (#912, Tommi Komulainen)
This commit is contained in:
Emmanuele Bassi 2008-05-23 15:23:40 +00:00
parent eccd9399e5
commit e50099a206

View File

@ -559,8 +559,8 @@ _cogl_features_init ()
ClutterFeatureFlags flags = 0;
const gchar *gl_extensions;
int max_clip_planes = 0;
int stencil_bits = 0;
GLint max_clip_planes = 0;
GLint stencil_bits = 0;
flags = COGL_FEATURE_TEXTURE_READ_PIXELS;