diff options
author | Egor Tsinko <[email protected]> | 2020-02-14 11:00:18 -0700 |
---|---|---|
committer | Egor Tsinko <[email protected]> | 2020-02-14 11:00:18 -0700 |
commit | c6d5c540f605735c4e121d6cc245572baca0101f (patch) | |
tree | 1bf2c0617858e248837e518a33f3b240a992dfe8 | |
parent | 4b8fb75b9bf3524fcc09a42b0a4ba07596273cd2 (diff) |
made Canvas3D.getPixelHeight() and Canvas3D.getPixelWidth() public
-rw-r--r-- | src/main/java/org/jogamp/java3d/Canvas3D.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/jogamp/java3d/Canvas3D.java b/src/main/java/org/jogamp/java3d/Canvas3D.java index 55dbab9..9188ae0 100644 --- a/src/main/java/org/jogamp/java3d/Canvas3D.java +++ b/src/main/java/org/jogamp/java3d/Canvas3D.java @@ -2848,7 +2848,7 @@ ArrayList<TextureRetained> textureIDResourceTable = new ArrayList<TextureRetaine /** * Retreives the width of the canvas in device pixels (regardless of HIDPI scale) */ - int getPixelWidth() { + public int getPixelWidth() { if (canvasViewCache != null) { synchronized (canvasViewCache) { return canvasViewCache.getCanvasWidth(); @@ -2860,7 +2860,7 @@ ArrayList<TextureRetained> textureIDResourceTable = new ArrayList<TextureRetaine /** * Retreives the height of the canvas in device pixels (regardless of HIDPI scale) */ - int getPixelHeight() { + public int getPixelHeight() { if (canvasViewCache != null) { synchronized (canvasViewCache) { return canvasViewCache.getCanvasHeight(); |