diff --git a/src/libvgcode/include/Types.hpp b/src/libvgcode/include/Types.hpp index 0ffe14373e..736bf76de8 100644 --- a/src/libvgcode/include/Types.hpp +++ b/src/libvgcode/include/Types.hpp @@ -213,4 +213,4 @@ extern Color lerp(const Color& c1, const Color& c2, float t); } // namespace libvgcode -#endif // VGCODE_TYPES_HPP \ No newline at end of file +#endif // VGCODE_TYPES_HPP diff --git a/src/libvgcode/src/OpenGLUtils.hpp b/src/libvgcode/src/OpenGLUtils.hpp index 16ed67fbc9..0cccfb5499 100644 --- a/src/libvgcode/src/OpenGLUtils.hpp +++ b/src/libvgcode/src/OpenGLUtils.hpp @@ -45,4 +45,4 @@ private: } // namespace libvgcode -#endif // VGCODE_OPENGLUTILS_HPP \ No newline at end of file +#endif // VGCODE_OPENGLUTILS_HPP diff --git a/src/libvgcode/src/ShadersES.hpp b/src/libvgcode/src/ShadersES.hpp index 8562a54c96..0fa9d0f666 100644 --- a/src/libvgcode/src/ShadersES.hpp +++ b/src/libvgcode/src/ShadersES.hpp @@ -12,6 +12,7 @@ namespace libvgcode { static const char* Segments_Vertex_Shader_ES = "#version 300 es\n" +"precision lowp usampler2D;\n" "#define POINTY_CAPS\n" "#define FIX_TWISTING\n" "const vec3 light_top_dir = vec3(-0.4574957, 0.4574957, 0.7624929);\n" @@ -156,6 +157,7 @@ static const char* Segments_Fragment_Shader_ES = static const char* Options_Vertex_Shader_ES = "#version 300 es\n" +"precision lowp usampler2D;\n" "const vec3 light_top_dir = vec3(-0.4574957, 0.4574957, 0.7624929);\n" "const float light_top_diffuse = 0.6 * 0.8;\n" "const float light_top_specular = 0.6 * 0.125;\n"