mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
mesa: fix ReadBuffer initialization
This commit is contained in:
parent
a668b43568
commit
19f872f2ec
1 changed files with 2 additions and 0 deletions
|
|
@ -1011,6 +1011,8 @@ init_attrib_groups(GLcontext *ctx)
|
|||
_mesa_init_multisample( ctx );
|
||||
#if FEATURE_pixel_transfer
|
||||
_mesa_init_pixel( ctx );
|
||||
#else
|
||||
ctx->Pixel.ReadBuffer = ctx->Visual.doubleBufferMode ? GL_BACK : GL_FRONT;
|
||||
#endif
|
||||
_mesa_init_pixelstore( ctx );
|
||||
_mesa_init_point( ctx );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue