From c6ca72efbbbf0962f751382f64d8a0d3ce53dc2d Mon Sep 17 00:00:00 2001 From: codeanticode Date: Wed, 20 Nov 2013 14:16:00 -0500 Subject: [PATCH] removed ALREADY_DRAWING_ERROR and NO_BEGIN_DRAW_ERROR --- core/src/processing/opengl/PGraphicsOpenGL.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/src/processing/opengl/PGraphicsOpenGL.java b/core/src/processing/opengl/PGraphicsOpenGL.java index d0bdf524e..f5eb20562 100644 --- a/core/src/processing/opengl/PGraphicsOpenGL.java +++ b/core/src/processing/opengl/PGraphicsOpenGL.java @@ -56,10 +56,6 @@ public class PGraphicsOpenGL extends PGraphics { "blendMode(%1$s) is not supported by this hardware (or driver)"; static final String BLEND_RENDERER_ERROR = "blendMode(%1$s) is not supported by this renderer"; - static final String ALREADY_DRAWING_ERROR = - "Already called beginDraw()"; - static final String NO_BEGIN_DRAW_ERROR = - "Cannot call endDraw() before beginDraw()"; static final String NESTED_DRAW_ERROR = "Already called drawing on another PGraphicsOpenGL object"; static final String ALREADY_BEGAN_CONTOUR_ERROR = @@ -1612,7 +1608,6 @@ public class PGraphicsOpenGL extends PGraphics { } if (drawing) { - PGraphics.showWarning(ALREADY_DRAWING_ERROR); return; } @@ -1655,7 +1650,6 @@ public class PGraphicsOpenGL extends PGraphics { report("top endDraw()"); if (!drawing) { - PGraphics.showWarning(NO_BEGIN_DRAW_ERROR); return; }