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

@@ -1149,7 +1149,7 @@ public class PShader implements PConstants {
textureLoc = getUniformLoc("texture");
if (textureLoc == -1) {
textureLoc = getUniformLoc("texSampler");
textureLoc = getUniformLoc("texMap");
}
texMatrixLoc = getUniformLoc("texMatrix");