mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 09:19:31 +00:00
Fix compile warning for a possible uninitialized variable
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user