From 286d8f2877f75d9ad82c55d1fa494f46a4a8f422 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Thu, 16 Sep 2010 17:15:38 +0200 Subject: [PATCH] dri/nv04: Fix maximum texture size. --- src/mesa/drivers/dri/nouveau/nv04_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/nouveau/nv04_context.c b/src/mesa/drivers/dri/nouveau/nv04_context.c index 1003afbca44..78703b0efa6 100644 --- a/src/mesa/drivers/dri/nouveau/nv04_context.c +++ b/src/mesa/drivers/dri/nouveau/nv04_context.c @@ -188,6 +188,7 @@ nv04_context_create(struct nouveau_screen *screen, const GLvisual *visual, hw->chan->flush_notify = nv04_channel_flush_notify; /* GL constants. */ + ctx->Const.MaxTextureLevels = 11; ctx->Const.MaxTextureCoordUnits = NV04_TEXTURE_UNITS; ctx->Const.MaxTextureImageUnits = NV04_TEXTURE_UNITS; ctx->Const.MaxTextureUnits = NV04_TEXTURE_UNITS; -- 2.30.2