diff --git a/core/src/processing/opengl/PShader.java b/core/src/processing/opengl/PShader.java index 80dd28214..4c385a0d1 100644 --- a/core/src/processing/opengl/PShader.java +++ b/core/src/processing/opengl/PShader.java @@ -89,7 +89,7 @@ public class PShader { parent = null; pgMain = null; pgl = null; - context = pgl.createEmptyContext(); + context = -1; this.vertexURL = null; this.fragmentURL = null;