mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 06:19:19 +02:00
Remove OpenGL ES / ANGLE render path
This commit is contained in:
@@ -120,7 +120,7 @@ void render_task::run()
|
||||
const auto screenWidth = static_cast<int>(PyLong_AsLong(outputWidth));
|
||||
const auto screenHeight = static_cast<int>(PyLong_AsLong(outputHeight));
|
||||
|
||||
const bool useRgb = false && !Global.gfx_usegles;
|
||||
const bool useRgb = false;
|
||||
|
||||
const int glFormat = useRgb ? GL_SRGB8 : GL_SRGB8_ALPHA8;
|
||||
const int glComponents = useRgb ? GL_RGB : GL_RGBA;
|
||||
|
||||
@@ -98,7 +98,7 @@ void python_screen_viewer::threadfunc()
|
||||
glBindTexture(GL_TEXTURE_2D, tex);
|
||||
}
|
||||
|
||||
if (!Global.gfx_usegles && !Global.gfx_shadergamma)
|
||||
if (!Global.gfx_shadergamma)
|
||||
glEnable(GL_FRAMEBUFFER_SRGB);
|
||||
|
||||
gl::program::unbind();
|
||||
|
||||
Reference in New Issue
Block a user