if (RADEON_DEBUG & DEBUG_DRI)
fprintf(stderr, "%s ctx %p dfb %p rfb %p\n", __FUNCTION__, radeon->glCtx, drfb, readfb);
+ if (radeon->dri.readable != driReadPriv)
+ radeon->dri.readable = driReadPriv;
+
driUpdateFramebufferSize(radeon->glCtx, driDrawPriv);
if (driReadPriv != driDrawPriv)
driUpdateFramebufferSize(radeon->glCtx, driReadPriv);
if (radeon->glCtx->DrawBuffer == &drfb->base) {
- if (radeon->dri.readable != driReadPriv)
- radeon->dri.readable = driReadPriv;
-
if (radeon->dri.drawable != driDrawPriv) {
if (driDrawPriv->swap_interval == (unsigned)-1) {
int i;
rmesa->radeon.state.stencil.clear = 0xffff0000;
break;
default:
- fprintf( stderr, "Error: Unsupported depth %d... exiting\n",
- ctx->Visual.depthBits );
- exit( -1 );
+ break;
}
/* Only have hw stencil when depth buffer is 24 bits deep */