mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 01:45:36 +02:00
Handle texture filtering sanely to avoid blurriness (#16034)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user