projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00bb524
)
nouveau: set MaxDrawBuffers to the same value as MaxColorAttachments
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Mon, 2 Nov 2015 01:13:13 +0000
(20:13 -0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Mon, 2 Nov 2015 01:15:15 +0000
(20:15 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/nouveau/nouveau_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/nouveau/nouveau_context.c
b/src/mesa/drivers/dri/nouveau/nouveau_context.c
index a049d9b8de75fb86423a267835cb3f2cf602c83f..cb854b81933d9f2912085e298d30d32728827348 100644
(file)
--- a/
src/mesa/drivers/dri/nouveau/nouveau_context.c
+++ b/
src/mesa/drivers/dri/nouveau/nouveau_context.c
@@
-188,7
+188,7
@@
nouveau_context_init(struct gl_context *ctx, gl_api api,
ctx->Extensions.EXT_blend_minmax = true;
ctx->Extensions.EXT_texture_filter_anisotropic = true;
ctx->Extensions.NV_texture_env_combine4 = true;
- ctx->Const.MaxColorAttachments = 1;
+ ctx->Const.Max
DrawBuffers = ctx->Const.Max
ColorAttachments = 1;
/* This effectively disables 3D textures */
ctx->Const.Max3DTextureLevels = 1;