mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-02 20:08:03 +03:00
Merge pull request #73 from kichikuou/gles
Fix shader compilation errors in OpenGL ES
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user