mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 12:49:18 +02:00
properly check for gles multisampling
This commit is contained in:
@@ -1059,7 +1059,7 @@ opengl_texture::alloc_rendertarget( GLint format, GLint components, int width, i
|
|||||||
wrap_mode_s = wrap;
|
wrap_mode_s = wrap;
|
||||||
wrap_mode_t = wrap;
|
wrap_mode_t = wrap;
|
||||||
samples = s;
|
samples = s;
|
||||||
if( Global.gfx_usegles && !glTexStorage2DMultisample ) {
|
if( Global.gfx_usegles && !GLAD_GL_ES_VERSION_3_1 ) {
|
||||||
samples = 1;
|
samples = 1;
|
||||||
}
|
}
|
||||||
layers = l;
|
layers = l;
|
||||||
|
|||||||
Reference in New Issue
Block a user