Skip to content

Commit

Permalink
- fix compile error on gles hardware without high precision floats by…
Browse files Browse the repository at this point in the history
… checking GL_FRAGMENT_PRECISION_HIGH and define precision lowp if no highp is available
  • Loading branch information
Memphiz authored and popcornmix committed May 27, 2015
1 parent e9d8e73 commit f3b69aa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,6 @@ std::string vsSource = "void main() { gl_Position = ftransform(); }";
#endif

std::string fsHeader =
"#ifdef GL_ES\n"
"precision highp float;\n"
"#endif\n"
"#extension GL_OES_standard_derivatives : enable\n"
"uniform vec3 iResolution;\n"
"uniform float iGlobalTime;\n"
Expand Down

0 comments on commit f3b69aa

Please sign in to comment.