From 3ff527fb6860f23795f86e9b85f3f66475796543 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 20 Feb 2012 11:07:01 -0700 Subject: [PATCH] intel: remove MAX_WIDTH usage in intelInitContext() --- src/mesa/drivers/dri/intel/intel_context.c | 6 ++---- 1 file 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 377bcbc..c876694 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. */ -- 2.7.4