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 0766841 commit 24eed01
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 @@ -324,9 +324,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 24eed01

Please sign in to comment.