Browse Source

Added missing precision specifier to fragment shader of the OpenGLAppExample

tags/2021-05-28
hogliux 8 years ago
parent
commit
065208bd75
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      examples/OpenGLAppExample/Source/MainComponent.cpp

+ 4
- 0
examples/OpenGLAppExample/Source/MainComponent.cpp View File

@@ -142,7 +142,11 @@ public:
"\n"
"void main()\n"
"{\n"
#if JUCE_OPENGL_ES
" lowp vec4 colour = vec4(0.95, 0.57, 0.03, 0.7);\n"
#else
" vec4 colour = vec4(0.95, 0.57, 0.03, 0.7);\n"
#endif
" gl_FragColor = colour;\n"
"}\n";


Loading…
Cancel
Save