diff options
author | Marek Olšák <[email protected]> | 2012-01-24 23:39:31 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-01-25 12:35:37 +0100 |
commit | 69c8f468ba93dc2999d4fde8909f8051e910929a (patch) | |
tree | 79eef814e99c52af8c8f8bec7bf8a73a5997fcfc /src/mesa/main/framebuffer.c | |
parent | 8ec05f06cba381ce757e18bc7c41f0bd33205926 (diff) |
mesa: remove ctx->Const.sRGBCapable
It always had the same value as ctx->Extensions.EXT_framebuffer_sRGB.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r-- | src/mesa/main/framebuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index 7c3c4e3456c..ea14148de1d 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c @@ -527,7 +527,7 @@ _mesa_update_framebuffer_visual(struct gl_context *ctx, fb->Visual.samples = rb->NumSamples; fb->Visual.sampleBuffers = rb->NumSamples > 0 ? 1 : 0; if (_mesa_get_format_color_encoding(fmt) == GL_SRGB) - fb->Visual.sRGBCapable = ctx->Const.sRGBCapable; + fb->Visual.sRGBCapable = ctx->Extensions.EXT_framebuffer_sRGB; break; } } |