Merge pull request #46175 from lawnjelly/gles_sanitizer_fixes

GLES - fix some sanitizer warnings
This commit is contained in:
Rémi Verschelde
2021-02-18 20:36:56 +01:00
committed by GitHub
3 changed files with 5 additions and 4 deletions

View File

@@ -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