projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
510c3bd
)
intel: Fall back on glCopyPixels(GL_DEPTH) or GL_STENCIL.
author
Eric Anholt
<eric@anholt.net>
Tue, 7 Jul 2009 20:39:29 +0000
(13:39 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 7 Jul 2009 22:36:10 +0000
(15:36 -0700)
src/mesa/drivers/dri/intel/intel_pixel_copy.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_pixel_copy.c
b/src/mesa/drivers/dri/intel/intel_pixel_copy.c
index f523d3eead92607ea288fa20cf6d2b16841a7e6b..5d52335dee375426562ac633de396903abf58d08 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_pixel_copy.c
+++ b/
src/mesa/drivers/dri/intel/intel_pixel_copy.c
@@
-272,6
+272,12
@@
do_blit_copypixels(GLcontext * ctx,
drm_clip_rect_t *cliprects;
int x_off, y_off;
+ if (type == GL_DEPTH || type == GL_STENCIL) {
+ if (INTEL_DEBUG & DEBUG_FALLBACKS)
+ fprintf(stderr, "glCopyPixels() fallback: GL_DEPTH || GL_STENCIL\n");
+ return GL_FALSE;
+ }
+
/* Update draw buffer bounds */
_mesa_update_state(ctx);