mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 22:30:11 +01:00
pass new args to gl_create_framebuffer
This commit is contained in:
parent
d91fb9f592
commit
4c7fd2cfce
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue