intel: Fall back on glCopyPixels(GL_DEPTH) or GL_STENCIL.

This commit is contained in:
Eric Anholt 2009-07-07 13:39:29 -07:00
parent 510c3bd7a1
commit bdd7506f10
1 changed files with 6 additions and 0 deletions

View File

@ -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);