diff options
author | Roland Scheidegger <[email protected]> | 2006-01-30 23:49:31 +0000 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2006-01-30 23:49:31 +0000 |
commit | 663138a9510be5d2f3ee2bda41e3a8c86ab688b5 (patch) | |
tree | d0293e94808813a7d2e9cf9ad429f012c05d580d /src/mesa/drivers/dri/sis | |
parent | a45f23bed141fc23300b8cd6960ba95e883a57bf (diff) |
fix broken assertions so dri drivers compile with -DDEBUG (replace GL_STENCIL_INDEX8 with GL_STENCIL_INDEX8_EXT). Fix potential problem with drivers which use 32bit z buffers.
Diffstat (limited to 'src/mesa/drivers/dri/sis')
-rw-r--r-- | src/mesa/drivers/dri/sis/sis_dd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_dd.c b/src/mesa/drivers/dri/sis/sis_dd.c index 4e73f562b02..39c00a18af6 100644 --- a/src/mesa/drivers/dri/sis/sis_dd.c +++ b/src/mesa/drivers/dri/sis/sis_dd.c @@ -160,7 +160,7 @@ sisInitRenderbuffer(struct gl_renderbuffer *rb, GLenum format) } else { /* Stencil */ - ASSERT(format == GL_STENCIL_INDEX8); + ASSERT(format == GL_STENCIL_INDEX8_EXT); rb->_BaseFormat = GL_STENCIL_INDEX; rb->DataType = GL_UNSIGNED_BYTE; } |