mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 01:18:06 +02:00
mesa: fix ReadBuffer initialization
This commit is contained in:
parent
cd4d4f590f
commit
715715e230
1 changed files with 2 additions and 0 deletions
|
|
@ -1037,6 +1037,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