mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
don't call enable(target)/disable(target)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user