projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a668b43
)
mesa: fix ReadBuffer initialization
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 18 Jun 2008 15:30:13 +0000
(09:30 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 18 Jun 2008 15:30:13 +0000
(09:30 -0600)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 439ac6aba52504b0ea13ab43f965a65bc484f8a5..8aab1eebc8b062ddc98d14f0ff18372cd22a0534 100644
(file)
--- a/
src/mesa/main/context.c
+++ b/
src/mesa/main/context.c
@@
-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 );