add getRenderer() to SurfaceInfo (fixes #4441)

This commit is contained in:
Ben Fry
2016-09-02 12:10:59 -04:00
parent 4b6f16fac0
commit 5634ca28e7
2 changed files with 13 additions and 0 deletions

View File

@@ -138,4 +138,15 @@ public class SurfaceInfo {
public String getSettings() {
return statements.join(" ");
}
// Added for Android Mode to check whether OpenGL is in use
// https://github.com/processing/processing/issues/4441
/**
* Return the renderer specified (null if none specified).
* @since 3.2.2
*/
public String getRenderer() {
return renderer;
}
}