summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/advancedcustommaterial/shaders/gl3/water.frag
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/advancedcustommaterial/shaders/gl3/water.frag')
-rw-r--r--examples/qt3d/advancedcustommaterial/shaders/gl3/water.frag2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/advancedcustommaterial/shaders/gl3/water.frag b/examples/qt3d/advancedcustommaterial/shaders/gl3/water.frag
index ae40bdf37..9657cc63a 100644
--- a/examples/qt3d/advancedcustommaterial/shaders/gl3/water.frag
+++ b/examples/qt3d/advancedcustommaterial/shaders/gl3/water.frag
@@ -39,7 +39,7 @@ void main()
vec2 waveMovCoord = waveTexCoord;
waveMovCoord.x += offsetx;
waveMovCoord.y -= offsety;
- vec4 wave = texture2D(waveTexture, waveMovCoord);
+ vec4 wave = texture(waveTexture, waveMovCoord);
//Wiggle the newCoord by r and b colors of waveTexture
vec2 newCoord = texCoord;