summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-02-27 16:23:41 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-02-27 16:23:41 +0000
commit6c0c91714c17da75d0386a48f7de7b558b3ec1a9 (patch)
tree8027f8cb6a168611354b530ea6e502f62cd70750
parent87a2f3df641af0683ebddd34d31196f5ec394b02 (diff)
silence warnings
-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;