Merge pull request #73 from kichikuou/gles

Fix shader compilation errors in OpenGL ES
This commit is contained in:
Nunuhara Cabbage
2022-10-01 10:37:52 -07:00
committed by GitHub
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -36,7 +36,8 @@ struct sdl_private sdl;
static const GLchar glsl_preamble[] =
#ifdef USE_GLES
"#version 300 es\n"
"precision highp float;\n";
"precision highp float;\n"
"precision highp int;\n";
#else
"#version 140\n";
#endif