mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 13:29:18 +02:00
opengl error fixes
This commit is contained in:
@@ -92,7 +92,7 @@ ui_layer::init( GLFWwindow *Window ) {
|
||||
if( Global.GfxRenderer == "default" ) {
|
||||
// opengl 3.3 render path
|
||||
if( Global.gfx_usegles ) {
|
||||
ImGui_ImplOpenGL3_Init( "#version 300 es\nprecision highp float;" );
|
||||
ImGui_ImplOpenGL3_Init( "#version 300 es" );
|
||||
}
|
||||
else {
|
||||
ImGui_ImplOpenGL3_Init( "#version 330 core" );
|
||||
|
||||
Reference in New Issue
Block a user