From d5fadaf98c06bd4eef7a9206c9ff2f9e17ab5078 Mon Sep 17 00:00:00 2001 From: milek7 Date: Wed, 20 Jan 2021 19:49:36 +0100 Subject: [PATCH] properly check for gles multisampling --- Texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Texture.cpp b/Texture.cpp index b375fe14..0cd2bfbc 100644 --- a/Texture.cpp +++ b/Texture.cpp @@ -1059,7 +1059,7 @@ opengl_texture::alloc_rendertarget( GLint format, GLint components, int width, i wrap_mode_s = wrap; wrap_mode_t = wrap; samples = s; - if( Global.gfx_usegles && !glTexStorage2DMultisample ) { + if( Global.gfx_usegles && !GLAD_GL_ES_VERSION_3_1 ) { samples = 1; } layers = l;