diff options
author | Brian Paul <[email protected]> | 2015-07-21 18:42:41 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-07-23 20:19:50 -0600 |
commit | dbefffa5b4c438008d44db106b5774f575cb495f (patch) | |
tree | 7fada1dffcfcb0d02ecaf0bd8c28b007e89acae5 /src/mesa/main/fbobject.c | |
parent | 319b83b3ee2629f443a8734256bbf33b3fb4a7a9 (diff) |
mesa: initialize variables to silence compiler warnings
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/fbobject.c')
-rw-r--r-- | src/mesa/main/fbobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index f46554b761e..cc342c23c03 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -3304,7 +3304,7 @@ _mesa_FramebufferTexture(GLenum target, GLenum attachment, GET_CURRENT_CONTEXT(ctx); struct gl_framebuffer *fb; struct gl_texture_object *texObj; - GLboolean layered; + GLboolean layered = GL_FALSE; const char *func = "FramebufferTexture"; @@ -3347,7 +3347,7 @@ _mesa_NamedFramebufferTexture(GLuint framebuffer, GLenum attachment, GET_CURRENT_CONTEXT(ctx); struct gl_framebuffer *fb; struct gl_texture_object *texObj; - GLboolean layered; + GLboolean layered = GL_FALSE; const char *func = "glNamedFramebufferTexture"; |