don't call enable(target)/disable(target)

This commit is contained in:
codeanticode
2014-08-07 11:26:27 -04:00
parent efc1fb9592
commit d7cef16d09

View File

@@ -800,7 +800,6 @@ public abstract class PGL {
protected void enableTexturing(int target) {
enable(target);
if (target == TEXTURE_2D) {
texturingTargets[0] = true;
} else if (target == TEXTURE_RECTANGLE) {
@@ -810,7 +809,6 @@ public abstract class PGL {
protected void disableTexturing(int target) {
disable(target);
if (target == TEXTURE_2D) {
texturingTargets[0] = false;
} else if (target == TEXTURE_RECTANGLE) {