summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-03-28 01:50:21 +0100
committerMarek Olšák <[email protected]>2013-04-06 23:57:04 +0200
commit21d407c1b8bf3be1eff87121d528d03c240ce207 (patch)
tree5909f109a8e529e2e2663b42a10e56a5aca848d1 /src/mesa/main/framebuffer.c
parentc4629ad3f9440ec7ad3d9f4881d0aba41a93f2f5 (diff)
mesa: refactor clamping controls, get rid of _ClampReadColor
v2: cosmetic changes from Brian's email Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 619aaa33754..5fb36776b45 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -154,6 +154,7 @@ _mesa_initialize_window_framebuffer(struct gl_framebuffer *fb,
fb->Delete = _mesa_destroy_framebuffer;
fb->_Status = GL_FRAMEBUFFER_COMPLETE_EXT;
+ fb->_AllColorBuffersFixedPoint = !visual->floatMode;
compute_depth_max(fb);
}