From 4c7fd2cfce9b5cd067837ac09309ea9eec9a96eb Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 10 Dec 1999 19:13:14 +0000 Subject: [PATCH] pass new args to gl_create_framebuffer --- src/mesa/drivers/glide/fxapi.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.30.2