pass new args to gl_create_framebuffer
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Dec 1999 19:13:14 +0000 (19:13 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Dec 1999 19:13:14 +0000 (19:13 +0000)
src/mesa/drivers/glide/fxapi.c

index cb4230a5aecf14db8246aad7110e56e8b0b9f4a2..568b30b9a038de3c13b22ce9a9b59893ea09be2b 100644 (file)
@@ -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;