summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-20 11:07:01 -0700
committerBrian Paul <[email protected]>2012-02-24 08:03:11 -0700
commit3ff527fb6860f23795f86e9b85f3f66475796543 (patch)
tree66e30cd044bbeb2fbc6df51b26c155c4309fac20 /src
parentcb49def3d6f946def1f53c736d1179ed9b576ab1 (diff)
intel: remove MAX_WIDTH usage in intelInitContext()
Diffstat (limited to 'src')
-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. */