aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/curve
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-01-12 05:38:37 +0100
committerSven Göthel <[email protected]>2024-01-12 05:38:37 +0100
commitc6e83daaf04541907fa5ac36f1cd06c2c65e2882 (patch)
treeac358701b4119789f0be5224d65d140b5540327c /src/jogl/classes/jogamp/graph/curve
parentfa0703fda03f34468c9c8645a52d13536c366991 (diff)
Graph VBORegion2PVBAAES2: Fix Rescale (MAX texSize): renderFboHeight shall use winHeight (typo)
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java2
1 files changed, 1 insertions, 1 deletions
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 ) {