diff --git a/freeglut/web-src/docs/gles.php b/freeglut/web-src/docs/gles.php index 05afcbb..69cc16a 100644 --- a/freeglut/web-src/docs/gles.php +++ b/freeglut/web-src/docs/gles.php @@ -38,6 +38,7 @@ cd /usr/src/freeglut-3.0.0/ mkdir native-gles2/ && cd native-gles2/ cmake \ -DCMAKE_INSTALL_PREFIX=/tmp/freeglut-native-gles2 \ + -D CMAKE_BUILD_TYPE=Debug \ -DFREEGLUT_GLES2=ON \ -DFREEGLUT_BUILD_DEMOS=NO \ .. @@ -45,6 +46,21 @@ make make install +
For GLES1:
+ ++cd /usr/src/freeglut-3.0.0/ +mkdir native-gles1/ && cd native-gles1/ +cmake \ + -DCMAKE_INSTALL_PREFIX=/tmp/freeglut-native-gles1 \ + -D CMAKE_BUILD_TYPE=Debug \ + -DFREEGLUT_GLES1=ON \ + -DFREEGLUT_BUILD_DEMOS=NO \ + .. +make +make install ++
See for instance progs/test-shapes-gles1/
in the source distribution:
+it is a standalone CMake app that uses FreeGLUT GLES1.