mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-17 15:00:31 +01:00
nv30: do not shift texture format
This commit is contained in:
parent
12118fcd12
commit
a9863caefc
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ nv30_fragtex_build(struct nv30_context *nv30, int unit)
|
|||
if (!tf)
|
||||
assert(0);
|
||||
|
||||
txf = tf->format << 8;
|
||||
txf = tf->format;
|
||||
txf |= ((pt->last_level>0) ? NV34TCL_TX_FORMAT_MIPMAP : 0);
|
||||
txf |= log2i(pt->width[0]) << 20;
|
||||
txf |= log2i(pt->height[0]) << 24;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue