Commit 38f56a9
committed
fix: make mipmaps for RGBA textures if allowed
Unless explicitly prohibited via `TF_NOMIPMAP` we should build mipmaps
for textures destined for the GPU. This currently excludes single-mip
block-compressed textures as we would need to decompress them or use the
GPU to do so.1 parent 9ac5ffa commit 38f56a9
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
393 | 392 | | |
394 | 393 | | |
395 | 394 | | |
| |||
430 | 429 | | |
431 | 430 | | |
432 | 431 | | |
| 432 | + | |
| 433 | + | |
433 | 434 | | |
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
437 | 438 | | |
438 | | - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
439 | 448 | | |
440 | 449 | | |
441 | 450 | | |
| |||
0 commit comments