Mesa (master): intel: Use _mesa_CheckFramebufferStatusEXT insteaad of glCheck...
Eric Anholt
anholt at kemper.freedesktop.org
Thu May 21 17:48:29 UTC 2009
Module: Mesa
Branch: master
Commit: 4da58bbab034fb2ef955495445fe377dbce1f411
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4da58bbab034fb2ef955495445fe377dbce1f411
Author: Eric Anholt <eric at anholt.net>
Date: Wed May 20 13:09:04 2009 -0700
intel: Use _mesa_CheckFramebufferStatusEXT insteaad of glCheck...
Fixes a segfault in our oglconform fbo test.
---
src/mesa/drivers/dri/intel/intel_generatemipmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_generatemipmap.c b/src/mesa/drivers/dri/intel/intel_generatemipmap.c
index 02804b5..1060fbd 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;
More information about the mesa-commit
mailing list