mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
on second thought, checking for function pointers is more optimal
This commit is contained in:
@@ -1123,7 +1123,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 && !GLAD_GL_ES_VERSION_3_1 ) {
|
||||
if( Global.gfx_usegles && !glTexStorage2DMultisample ) {
|
||||
samples = 1;
|
||||
}
|
||||
layers = l;
|
||||
|
||||
Reference in New Issue
Block a user