mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 16:59:17 +02:00
reformat: use contains()
This commit is contained in:
@@ -119,7 +119,7 @@ texture_manager::texture_manager() {
|
||||
void opengl_texture::gles_match_internalformat(GLuint internalformat)
|
||||
{
|
||||
// ignore compressed formats (and hope that GLES driver will support it)
|
||||
if (precompressed_formats.find(internalformat) != precompressed_formats.end())
|
||||
if (precompressed_formats.contains(internalformat))
|
||||
return;
|
||||
|
||||
// don't care about sRGB here
|
||||
|
||||
Reference in New Issue
Block a user