diff options
author | Brian Paul <[email protected]> | 2008-06-18 09:30:13 -0600 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-09-21 22:13:55 -0700 |
commit | 715715e230bbe3e90fed566230b4a10ed0e89e90 (patch) | |
tree | 5c383ad0bd59bc56fad8ad44e630694f1a64289b /src/mesa/main | |
parent | cd4d4f590f3e032d329ebb33dea69d951bb96d11 (diff) |
mesa: fix ReadBuffer initialization
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 19dd55f9d94..ed0addcdbbf 100644 --- 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 ); |