intel: Use _mesa_CheckFramebufferStatusEXT insteaad of glCheck...
authorEric Anholt <eric@anholt.net>
Wed, 20 May 2009 20:09:04 +0000 (13:09 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 21 May 2009 17:40:11 +0000 (10:40 -0700)
Fixes a segfault in our oglconform fbo test.

src/mesa/drivers/dri/intel/intel_generatemipmap.c

index 02804b51fa8873019d84341184d2b06160421332..1060fbd9e5963497d8c16555032b2b0383ff5363 100644 (file)
@@ -84,7 +84,7 @@ intel_generate_mipmap_level(GLcontext *ctx, GLuint tex_name,
    /* Choose to render to the color attachment. */
    _mesa_DrawBuffer(GL_COLOR_ATTACHMENT0_EXT);
 
-   status = glCheckFramebufferStatusEXT (GL_FRAMEBUFFER_EXT);
+   status = _mesa_CheckFramebufferStatusEXT (GL_FRAMEBUFFER_EXT);
    if (status != GL_FRAMEBUFFER_COMPLETE_EXT)
       return GL_FALSE;