diff --git a/java/libraries/opengl/src/processing/opengl/PGraphicsOpenGL.java b/java/libraries/opengl/src/processing/opengl/PGraphicsOpenGL.java index 1ed6201a8..98aebdc3c 100644 --- a/java/libraries/opengl/src/processing/opengl/PGraphicsOpenGL.java +++ b/java/libraries/opengl/src/processing/opengl/PGraphicsOpenGL.java @@ -1049,6 +1049,14 @@ public class PGraphicsOpenGL extends PGraphics { } + /** + * Get the current profile. + */ + public GLProfile getProfile() { + return profile; + } + + /** * Get the current drawable. */