mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
Initialize a variable to avoid warnings
The gl_mode variable was not initialized, and the compiler complained when using the anal-retentive compiler flags.
This commit is contained in:
parent
a86b9834d3
commit
5bdcfd288c
@ -1184,7 +1184,7 @@ cogl_set_fog (const CoglColor *fog_color,
|
||||
float z_far)
|
||||
{
|
||||
GLfloat fogColor[4];
|
||||
GLenum gl_mode;
|
||||
GLenum gl_mode = GL_LINEAR;
|
||||
|
||||
fogColor[0] = cogl_color_get_red_float (fog_color);
|
||||
fogColor[1] = cogl_color_get_green_float (fog_color);
|
||||
|
Loading…
Reference in New Issue
Block a user