mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Merge pull request #46175 from lawnjelly/gles_sanitizer_fixes
GLES - fix some sanitizer warnings
This commit is contained in:
@@ -81,7 +81,7 @@ public:
|
||||
|
||||
/* TEXTURE API */
|
||||
|
||||
enum TextureFlags {
|
||||
enum TextureFlags : unsigned int { // unsigned to stop sanitizer complaining about bit operations on ints
|
||||
TEXTURE_FLAG_MIPMAPS = 1, /// Enable automatic mipmap generation - when available
|
||||
TEXTURE_FLAG_REPEAT = 2, /// Repeat texture (Tiling), otherwise Clamping
|
||||
TEXTURE_FLAG_FILTER = 4, /// Create texture with linear (or available) filter
|
||||
|
||||
Reference in New Issue
Block a user