silence warnings

This commit is contained in:
Brian Paul
2005-02-27 16:23:41 +00:00
parent 87a2f3df64
commit 6c0c91714c

View File

@@ -408,8 +408,8 @@ test_framebuffer_completeness(GLcontext *ctx,
struct gl_framebuffer *fb) struct gl_framebuffer *fb)
{ {
GLint i; GLint i;
GLuint numImages, width, height; GLuint numImages, width = 0, height = 0;
GLenum intFormat; GLenum intFormat = GL_NONE;
/* Set to COMPLETE status, then try to find reasons for being incomplete */ /* Set to COMPLETE status, then try to find reasons for being incomplete */
fb->Status = GL_FRAMEBUFFER_COMPLETE_EXT; fb->Status = GL_FRAMEBUFFER_COMPLETE_EXT;