aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-12-10 19:13:14 +0000
committerBrian Paul <[email protected]>1999-12-10 19:13:14 +0000
commit4c7fd2cfce9b5cd067837ac09309ea9eec9a96eb (patch)
treec0b235790c0ff4e53799ce24337a563943b9591c /src/mesa/drivers/glide
parentd91fb9f5929d8a80dc8ea0b16d69c00342e34319 (diff)
pass new args to gl_create_framebuffer
Diffstat (limited to 'src/mesa/drivers/glide')
-rw-r--r--src/mesa/drivers/glide/fxapi.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c
index cb4230a5aec..568b30b9a03 100644
--- a/src/mesa/drivers/glide/fxapi.c
+++ b/src/mesa/drivers/glide/fxapi.c
@@ -1043,7 +1043,11 @@ fxMesaContext GLAPIENTRY fxMesaCreateContext(GLuint win,
}
- fxMesa->glBuffer=gl_create_framebuffer(fxMesa->glVis);
+ fxMesa->glBuffer=gl_create_framebuffer(fxMesa->glVis,
+ GL_FALSE, /* no software depth */
+ fxMesa->glVis->StencilBits > 0,
+ fxMesa->glVis->AccumBits > 0,
+ fxMesa->glVis->AlphaBits > 0 );
if (!fxMesa->glBuffer) {
errorstr = "gl_create_framebuffer";
goto errorhandler;