From: Eric Anholt Date: Wed, 20 May 2009 20:09:04 +0000 (-0700) Subject: intel: Use _mesa_CheckFramebufferStatusEXT insteaad of glCheck... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4da58bbab034fb2ef955495445fe377dbce1f411;p=mesa.git intel: Use _mesa_CheckFramebufferStatusEXT insteaad of glCheck... Fixes a segfault in our oglconform fbo test. --- diff --git a/src/mesa/drivers/dri/intel/intel_generatemipmap.c b/src/mesa/drivers/dri/intel/intel_generatemipmap.c index 02804b51fa8..1060fbd9e59 100644 --- a/src/mesa/drivers/dri/intel/intel_generatemipmap.c +++ b/src/mesa/drivers/dri/intel/intel_generatemipmap.c @@ -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;