projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd4d4f5
)
mesa: fix ReadBuffer initialization
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 18 Jun 2008 15:30:13 +0000
(09:30 -0600)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Mon, 22 Sep 2008 05:13:55 +0000
(22:13 -0700)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 19dd55f9d947166cc6ee66bd1866604a1e5ca884..ed0addcdbbfacdea03f3e748200795c3c2c6a10d 100644
(file)
--- a/
src/mesa/main/context.c
+++ b/
src/mesa/main/context.c
@@
-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 );