From 1a671877e7f12f70b4e8580270a500d98705781e Mon Sep 17 00:00:00 2001 From: codeanticode Date: Mon, 24 Aug 2015 16:55:41 -0400 Subject: [PATCH] fixed preprocessing of texture2DRect --- core/src/processing/opengl/PGL.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index e5097fbce..2a3d63d11 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -1697,8 +1697,8 @@ public abstract class PGL { String[] search = new String[] { "varying", "attribute", "texture", - "texMap2D", "texMap3D", "texMap2DRect", - "texMapCube", "gl_FragColor" + "texMap2DRect", "texMap2D", "texMap3D", "texMapCube", + "gl_FragColor" }; String[] replace = new String[] { "in", "in", @@ -1739,7 +1739,7 @@ public abstract class PGL { String[] search = new String[] { "varying", "attribute", "texture", - "texMap2D", "texMap3D", "texMap2DRect", "texMapCube" + "texMap2DRect", "texMap2D", "texMap3D", "texMapCube" }; String[] replace = new String[] { "out", "in",