mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
add getRenderer() to SurfaceInfo (fixes #4441)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
0254 (3.2.2 or 3.3)
|
||||
X fix quoting problem in IntDict.toJSON()
|
||||
X add getRenderer() to SurfaceInfo
|
||||
X https://github.com/processing/processing/issues/4441
|
||||
X add getRowMap() function
|
||||
_ do we want rows() to not be transient?
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user