mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 20:18:12 +02:00
nouveau: set MaxDrawBuffers to the same value as MaxColorAttachments
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 985b51551a)
This commit is contained in:
parent
addd501acd
commit
16bc98fb5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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.MaxDrawBuffers = ctx->Const.MaxColorAttachments = 1;
|
||||
|
||||
/* This effectively disables 3D textures */
|
||||
ctx->Const.Max3DTextureLevels = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue