mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
dri/nv04: Fix maximum texture size.
This commit is contained in:
parent
7b06fdbd33
commit
286d8f2877
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue