diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-09-16 17:15:38 +0200 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2010-09-16 19:44:21 +0200 |
commit | 286d8f2877f75d9ad82c55d1fa494f46a4a8f422 (patch) | |
tree | 17db84d35fdc262ddf517708d3f4e3df9f73d4be /src/mesa | |
parent | 7b06fdbd3319aae394e66f3a87de9561295bb049 (diff) |
dri/nv04: Fix maximum texture size.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 1003afbca4..78703b0efa 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; |