This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Added missing precision specifier to fragment shader of the OpenGLAppExample
tags/2021-05-28
hogliux
8 years ago
parent
cd5604c071
commit
065208bd75
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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";
Write
Preview
Loading…
Cancel
Save