Skip to content

Commit bac5dfe

Browse files
committed
Added getProfile() method
1 parent 3b6e751 commit bac5dfe

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

java/libraries/opengl/src/processing/opengl/PGraphicsOpenGL.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,14 @@ public GLCapabilities getCapabilities() {
10491049
}
10501050

10511051

1052+
/**
1053+
* Get the current profile.
1054+
*/
1055+
public GLProfile getProfile() {
1056+
return profile;
1057+
}
1058+
1059+
10521060
/**
10531061
* Get the current drawable.
10541062
*/

0 commit comments

Comments
 (0)