Fix compile warning for a possible uninitialized variable

This commit is contained in:
Emmanuele Bassi 2009-01-14 15:04:28 +00:00
parent 0e1bbcdc02
commit df62a037b0

View File

@ -320,7 +320,7 @@ create_cogl_texture (ClutterTexture *texture,
CoglHandle handle; CoglHandle handle;
gboolean using_rectangle; gboolean using_rectangle;
GLint gl_format; GLint gl_format;
CoglPixelFormat cogl_format; CoglPixelFormat cogl_format = COGL_PIXEL_FORMAT_RGBA_8888;
guint depth; guint depth;
g_object_get (G_OBJECT (texture_glx), "pixmap-depth", &depth, NULL); g_object_get (G_OBJECT (texture_glx), "pixmap-depth", &depth, NULL);