mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
intel: remove MAX_WIDTH usage in intelInitContext()
This commit is contained in:
parent
cb49def3d6
commit
3ff527fb68
1 changed files with 2 additions and 4 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue