Skip to content

Commit

Permalink
Added #version 330
Browse files Browse the repository at this point in the history
  • Loading branch information
plevy authored Jul 6, 2021
1 parent 62e070f commit 982eb64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/glsl.earth
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ osgEarth Sample - Per-layer GLSL shader injection
<shader>
<uniform name="gamma" value="2.2"/>
<![CDATA[
#version 330
#pragma vp_entryPoint gammaCorrection
#pragma vp_location fragment
uniform float gamma;
Expand All @@ -20,4 +21,4 @@ osgEarth Sample - Per-layer GLSL shader injection
]]>
</shader>
</GDALImage>
</Map>
</Map>

0 comments on commit 982eb64

Please sign in to comment.