From 21d407c1b8bf3be1eff87121d528d03c240ce207 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 28 Mar 2013 01:50:21 +0100 Subject: mesa: refactor clamping controls, get rid of _ClampReadColor v2: cosmetic changes from Brian's email Reviewed-by: Brian Paul --- src/mesa/main/framebuffer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main/framebuffer.c') 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); } -- cgit v1.2.3