intel: Fall back on glCopyPixels(GL_DEPTH) or GL_STENCIL.
This commit is contained in:
parent
510c3bd7a1
commit
bdd7506f10
|
@ -272,6 +272,12 @@ do_blit_copypixels(GLcontext * ctx,
|
||||||
drm_clip_rect_t *cliprects;
|
drm_clip_rect_t *cliprects;
|
||||||
int x_off, y_off;
|
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 */
|
/* Update draw buffer bounds */
|
||||||
_mesa_update_state(ctx);
|
_mesa_update_state(ctx);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue