From ac5279a0929a1ef69b7c546497c52d778a835d75 Mon Sep 17 00:00:00 2001 From: Egor Tsinko Date: Tue, 25 Feb 2020 09:14:39 -0700 Subject: Fixes to Canvas3D.getPixelWidth() and Canvas3D.getPixelHeight() Sometimes, if canvas is resized, CanvasViewCache is not updated before a frame is rendered. As the result of this the width and height values in the cache are incorrect. --- src/main/java/org/jogamp/java3d/Canvas3D.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/org/jogamp/java3d/Canvas3D.java b/src/main/java/org/jogamp/java3d/Canvas3D.java index 9188ae0..d099f5e 100644 --- a/src/main/java/org/jogamp/java3d/Canvas3D.java +++ b/src/main/java/org/jogamp/java3d/Canvas3D.java @@ -2851,7 +2851,7 @@ ArrayList textureIDResourceTable = new ArrayList textureIDResourceTable = new ArrayList