pass new args to gl_create_framebuffer

This commit is contained in:
Brian Paul 1999-12-10 19:13:14 +00:00
parent d91fb9f592
commit 4c7fd2cfce

View 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;