diff options
author | Dave Airlie <airlied@redhat.com> | 2009-03-06 04:47:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-06 04:48:20 +1000 |
commit | a03a4dd524b97f43356b830c21df05f82795fe0b (patch) | |
tree | 479f1c4559caf08a891ffea4976f5a500cad3c14 /src/mesa | |
parent | 7ba9eb1e85e1017700a02c4f5d2848e3d997bc5b (diff) |
r200: remove depth check for dri2
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_state_init.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_state_init.c b/src/mesa/drivers/dri/r200/r200_state_init.c index 096ebad028..f7149c36e2 100644 --- a/src/mesa/drivers/dri/r200/r200_state_init.c +++ b/src/mesa/drivers/dri/r200/r200_state_init.c @@ -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 */ |