diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index b4cdbb819..86c69b83c 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -923,8 +923,8 @@ public class PGL { animator.requestDisplay(); } } catch (GLException e) { - // Unwrap GLException to only the causing exception and so - // avoid the additional jogl lines. + // Unwrap GLException so that only the causing exception + // is shown. Throwable tr = e.getCause(); throw (RuntimeException)tr; } diff --git a/java/libraries/video/src/processing/video/Video.java b/java/libraries/video/src/processing/video/Video.java index b6c93e91d..c092cf91c 100644 --- a/java/libraries/video/src/processing/video/Video.java +++ b/java/libraries/video/src/processing/video/Video.java @@ -66,12 +66,12 @@ public class Video implements PConstants { } - static public void setGStreamerPath(String path) { + static public void setPath(String path) { gstreamerPath = path; } - static public void useOpenGL(boolean gl) { + static public void useGL(boolean gl) { useGLBufferSink = gl; }