summaryrefslogtreecommitdiff
path: root/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/fbobject.c')
-rw-r--r--src/mesa/main/fbobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 05ad155595..3480beaa47 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -408,8 +408,8 @@ test_framebuffer_completeness(GLcontext *ctx,
struct gl_framebuffer *fb)
{
GLint i;
- GLuint numImages, width, height;
- GLenum intFormat;
+ GLuint numImages, width = 0, height = 0;
+ GLenum intFormat = GL_NONE;
/* Set to COMPLETE status, then try to find reasons for being incomplete */
fb->Status = GL_FRAMEBUFFER_COMPLETE_EXT;