mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
r200: remove depth check for dri2
This commit is contained in:
parent
7ba9eb1e85
commit
a03a4dd524
1 changed files with 1 additions and 4 deletions
|
|
@ -676,14 +676,11 @@ void r200InitState( r200ContextPtr rmesa )
|
|||
rmesa->radeon.state.stencil.clear = 0x00000000;
|
||||
break;
|
||||
case 24:
|
||||
default:
|
||||
rmesa->radeon.state.depth.clear = 0x00ffffff;
|
||||
rmesa->radeon.state.depth.scale = 1.0 / (GLfloat)0xffffff;
|
||||
rmesa->radeon.state.stencil.clear = 0xffff0000;
|
||||
break;
|
||||
default:
|
||||
fprintf( stderr, "Error: Unsupported depth %d... exiting\n",
|
||||
ctx->Visual.depthBits );
|
||||
exit( -1 );
|
||||
}
|
||||
|
||||
/* Only have hw stencil when depth buffer is 24 bits deep */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue