summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-01-24 23:39:31 +0100
committerMarek Olšák <[email protected]>2012-01-25 12:35:37 +0100
commit69c8f468ba93dc2999d4fde8909f8051e910929a (patch)
tree79eef814e99c52af8c8f8bec7bf8a73a5997fcfc /src/mesa/drivers/dri
parent8ec05f06cba381ce757e18bc7c41f0bd33205926 (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/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index ffd953683e7..81ba6a195ea 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -697,7 +697,6 @@ intelInitContext(struct intel_context *intel,
_mesa_init_point(ctx);
if (intel->gen >= 4) {
- ctx->Const.sRGBCapable = true;
if (MAX_WIDTH > 8192)
ctx->Const.MaxRenderbufferSize = 8192;
} else {