minor correction in the name of the texture sampler

This commit is contained in:
codeanticode
2013-10-26 22:06:25 -04:00
parent c6b9f16c42
commit e1f4b82d3c
3 changed files with 10 additions and 10 deletions

View File

@@ -1117,9 +1117,9 @@ public class PJOGL extends PGL {
line = line.replace("varying", "in");
line = line.replace("attribute", "in");
line = line.replace("gl_FragColor", "fragColor");
line = line.replace("texture", "texSampler");
line = line.replace("texSampler2D(", "texture(");
line = line.replace("texSampler2DRect(", "texture(");
line = line.replace("texture", "texMap");
line = line.replace("texMap2D(", "texture(");
line = line.replace("texMap2DRect(", "texture(");
fragSrc[i + 2] = line;
}
return fragSrc;