From 2773f2e40a6b8bec41ed331cd00799e4ece749cb Mon Sep 17 00:00:00 2001 From: daid Date: Wed, 29 May 2024 09:11:51 +0200 Subject: [PATCH] Fix https://github.com/daid/EmptyEpsilon/issues/2116 --- src/graphics/shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/shader.cpp b/src/graphics/shader.cpp index cfb391a..ea5a7ec 100644 --- a/src/graphics/shader.cpp +++ b/src/graphics/shader.cpp @@ -8,7 +8,7 @@ namespace sp { static Shader* current_shader = nullptr; static const char* vertex_shader_header_es = "#version 100\nprecision highp float;\n"; -static const char* fragment_shader_header_es = "#version 100\n#ifdef GL_FRAGMENT_PRECISION_HIGH\nprecision highp float;\n#else\nprecision mediump float\n#endif\n"; +static const char* fragment_shader_header_es = "#version 100\n#ifdef GL_FRAGMENT_PRECISION_HIGH\nprecision highp float;\n#else\nprecision mediump float;\n#endif\n"; static const char* vertex_shader_header = "#version 120\n"; static const char* fragment_shader_header = "#version 120\n";