summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index 377bcbc0664..c876694cead 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -698,11 +698,9 @@ intelInitContext(struct intel_context *intel,
_mesa_init_point(ctx);
if (intel->gen >= 4) {
- if (MAX_WIDTH > 8192)
- ctx->Const.MaxRenderbufferSize = 8192;
+ ctx->Const.MaxRenderbufferSize = 8192;
} else {
- if (MAX_WIDTH > 2048)
- ctx->Const.MaxRenderbufferSize = 2048;
+ ctx->Const.MaxRenderbufferSize = 2048;
}
/* Initialize the software rasterizer and helper modules. */