Skip to content

Commit 58df486

Browse files
committed
1 parent fd3bbd5 commit 58df486

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/processing/opengl/PGL.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ protected static String[] preprocessFragmentSource(String[] fragSrc0,
19141914
Pattern[] search = new Pattern[] {
19151915
Pattern.compile(String.format(GLSL_ID_REGEX, "varying|attribute")),
19161916
Pattern.compile(String.format(GLSL_ID_REGEX, "texture")),
1917-
Pattern.compile(String.format(GLSL_FN_REGEX, "textureRect|texture2D|texture3D|textureCube")),
1917+
Pattern.compile(String.format(GLSL_FN_REGEX, "texture2DRect|texture2D|texture3D|textureCube")),
19181918
Pattern.compile(String.format(GLSL_ID_REGEX, "gl_FragColor"))
19191919
};
19201920
String[] replace = new String[] {
@@ -1954,7 +1954,7 @@ protected static String[] preprocessVertexSource(String[] vertSrc0,
19541954
Pattern.compile(String.format(GLSL_ID_REGEX, "varying")),
19551955
Pattern.compile(String.format(GLSL_ID_REGEX, "attribute")),
19561956
Pattern.compile(String.format(GLSL_ID_REGEX, "texture")),
1957-
Pattern.compile(String.format(GLSL_FN_REGEX, "textureRect|texture2D|texture3D|textureCube"))
1957+
Pattern.compile(String.format(GLSL_FN_REGEX, "texture2DRect|texture2D|texture3D|textureCube"))
19581958
};
19591959
String[] replace = new String[] {
19601960
"out", "in", "texMap", "texture",

0 commit comments

Comments
 (0)