projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb49def
)
intel: remove MAX_WIDTH usage in intelInitContext()
author
Brian Paul
<brianp@vmware.com>
Mon, 20 Feb 2012 18:07:01 +0000
(11:07 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 24 Feb 2012 15:03:11 +0000
(08:03 -0700)
src/mesa/drivers/dri/intel/intel_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_context.c
b/src/mesa/drivers/dri/intel/intel_context.c
index 377bcbc066491e20ee61e0c3742d96a229d72aa2..c876694ceadfaa4e1c832c386943562a5cd6d38c 100644
(file)
--- 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. */