intel: remove MAX_WIDTH usage in intelInitContext()

This commit is contained in:
Brian Paul 2012-02-20 11:07:01 -07:00
parent cb49def3d6
commit 3ff527fb68
1 changed files with 2 additions and 4 deletions

View File

@ -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. */