mirror of
https://github.com/brl/mutter.git
synced 2024-12-02 04:40:43 -05:00
Fix compile warning for a possible uninitialized variable
This commit is contained in:
parent
0e1bbcdc02
commit
df62a037b0
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user