mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Handle texture filtering sanely to avoid blurriness (#16034)
This commit is contained in:
parent
1c5776d13a
commit
4c4e296274
8 changed files with 70 additions and 65 deletions
|
@ -99,3 +99,9 @@
|
|||
#define SCREENSHOT_MAX_SERIAL_TRIES 1000
|
||||
|
||||
#define TTF_DEFAULT_FONT_SIZE (16)
|
||||
|
||||
// Minimum texture size enforced/checked for enabling linear filtering
|
||||
// This serves as the minimum for `texture_min_size`.
|
||||
// The intent is to ensure that the rendering doesn't turn terribly blurry
|
||||
// when filtering is enabled.
|
||||
#define TEXTURE_FILTER_MIN_SIZE 192U
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue