mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 13:22:15 +00: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;
|
||||
gboolean using_rectangle;
|
||||
GLint gl_format;
|
||||
CoglPixelFormat cogl_format;
|
||||
CoglPixelFormat cogl_format = COGL_PIXEL_FORMAT_RGBA_8888;
|
||||
guint depth;
|
||||
|
||||
g_object_get (G_OBJECT (texture_glx), "pixmap-depth", &depth, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user