silence warnings
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 27 Feb 2005 16:23:41 +0000 (16:23 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 27 Feb 2005 16:23:41 +0000 (16:23 +0000)
src/mesa/main/fbobject.c

index 05ad155..3480bea 100644 (file)
@@ -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;