summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-01-02 17:58:07 -0800
committerEric Anholt <eric@anholt.net>2011-01-03 13:28:24 -0800
commit059cca92a819e20e0d834605a3a7d277eaf88d9f (patch)
treee8ed2b8c91c91b80d5681ac834a8e5250bc2ff21 /src/mesa/main/framebuffer.h
parentbeac6ee62aea196d6e670abd4b198190e33e6cb1 (diff)
downloadexternal_mesa3d-059cca92a819e20e0d834605a3a7d277eaf88d9f.zip
external_mesa3d-059cca92a819e20e0d834605a3a7d277eaf88d9f.tar.gz
external_mesa3d-059cca92a819e20e0d834605a3a7d277eaf88d9f.tar.bz2
mesa: Use the common logic for "is this baseformat a color format?"
When figuring out whether a renderbuffer should be used to set the visual bits of an FBO, we were missing important baseformats like GL_RED, GL_RG, and GL_LUMINANCE.
Diffstat (limited to 'src/mesa/main/framebuffer.h')
-rw-r--r--src/mesa/main/framebuffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/framebuffer.h b/src/mesa/main/framebuffer.h
index 20e3ff5..c3bd638 100644
--- a/src/mesa/main/framebuffer.h
+++ b/src/mesa/main/framebuffer.h
@@ -70,7 +70,8 @@ extern void
_mesa_update_draw_buffer_bounds(struct gl_context *ctx);
extern void
-_mesa_update_framebuffer_visual(struct gl_framebuffer *fb);
+_mesa_update_framebuffer_visual(struct gl_context *ctx,
+ struct gl_framebuffer *fb);
extern void
_mesa_update_depth_buffer(struct gl_context *ctx, struct gl_framebuffer *fb,