OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02f73c4
)
intel: Use _mesa_CheckFramebufferStatusEXT insteaad of glCheck...
author
Eric Anholt
<eric@anholt.net>
Wed, 20 May 2009 20:09:04 +0000
(13:09 -0700)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_generatemipmap.c
b/src/mesa/drivers/dri/intel/intel_generatemipmap.c
index
02804b5
..
1060fbd
100644
(file)
--- 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 =
gl
CheckFramebufferStatusEXT (GL_FRAMEBUFFER_EXT);
+ status =
_mesa_
CheckFramebufferStatusEXT (GL_FRAMEBUFFER_EXT);
if (status != GL_FRAMEBUFFER_COMPLETE_EXT)
return GL_FALSE;