From c6e83daaf04541907fa5ac36f1cd06c2c65e2882 Mon Sep 17 00:00:00 2001 From: Sven Göthel Date: Fri, 12 Jan 2024 05:38:37 +0100 Subject: Graph VBORegion2PVBAAES2: Fix Rescale (MAX texSize): renderFboHeight shall use winHeight (typo) --- src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/jogamp/graph/curve') diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java b/src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java index 82426a73c..389a1aca6 100644 --- a/src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java +++ b/src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java @@ -385,7 +385,7 @@ public final class VBORegion2PVBAAES2 extends GLRegion { } final float renderFboWidth, renderFboHeight; renderFboWidth = (winWidth+2*border)*sampleCount[0]; - renderFboHeight = (winWidth+2*border)*sampleCount[0]; + renderFboHeight = (winHeight+2*border)*sampleCount[0]; targetFboWidth = (int)Math.ceil(renderFboWidth); targetFboHeight = (int)Math.ceil(renderFboHeight); if( DEBUG_FBO_1 ) { -- cgit v1.2.3