From d7cef16d09d2aa650402784405f9feb71ea8000d Mon Sep 17 00:00:00 2001 From: codeanticode Date: Thu, 7 Aug 2014 11:26:27 -0400 Subject: [PATCH] don't call enable(target)/disable(target) --- core/src/processing/opengl/PGL.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index 806ef8fc0..c0946b903 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -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) {