silence warnings

This commit is contained in:
Brian Paul 2005-02-27 16:23:41 +00:00
parent 87a2f3df64
commit 6c0c91714c
1 changed files with 2 additions and 2 deletions

View 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;