@@ -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