Module: Mesa Branch: master Commit: 286d8f2877f75d9ad82c55d1fa494f46a4a8f422 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=286d8f2877f75d9ad82c55d1fa494f46a4a8f422
Author: Francisco Jerez <curroje...@riseup.net> Date: Thu Sep 16 17:15:38 2010 +0200 dri/nv04: Fix maximum texture size. --- src/mesa/drivers/dri/nouveau/nv04_context.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/nouveau/nv04_context.c b/src/mesa/drivers/dri/nouveau/nv04_context.c index 1003afb..78703b0 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit