From 91f96a54c5fef4e67fe4e893fd44ebdf1d8ff05c Mon Sep 17 00:00:00 2001 From: Jakub Valtar Date: Fri, 14 Aug 2015 17:53:03 -0400 Subject: [PATCH] Enabling textures rubs OpenGL the wrong way This is was deprecated with fixed-function pipeline --- core/src/processing/opengl/PJOGL.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/processing/opengl/PJOGL.java b/core/src/processing/opengl/PJOGL.java index 81f472921..29651057b 100644 --- a/core/src/processing/opengl/PJOGL.java +++ b/core/src/processing/opengl/PJOGL.java @@ -1174,7 +1174,6 @@ public class PJOGL extends PGL { @Override protected void enableTexturing(int target) { - if (profile == 2) enable(target); if (target == TEXTURE_2D) { texturingTargets[0] = true; } else if (target == TEXTURE_RECTANGLE) { @@ -1185,7 +1184,6 @@ public class PJOGL extends PGL { @Override protected void disableTexturing(int target) { - if (profile == 2) disable(target); if (target == TEXTURE_2D) { texturingTargets[0] = false; } else if (target == TEXTURE_RECTANGLE) {