diff options
author | Sven Gothel <[email protected]> | 2023-03-14 15:03:12 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-14 15:03:12 +0100 |
commit | 8f7f3f2c693b033e80b5b494c841a36dc5d2c2a8 (patch) | |
tree | 64708f9b82eae9a1ece93591343713043579df38 /src/demos/com/jogamp | |
parent | e41f65f34afade96ba211bae0ce9dc8146435c00 (diff) |
GraphUI: UIShapeDemo01.reshape(): Drop redundant glViewport(..) call
Diffstat (limited to 'src/demos/com/jogamp')
-rw-r--r-- | src/demos/com/jogamp/opengl/demos/graph/ui/UIShapeDemo01.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UIShapeDemo01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UIShapeDemo01.java index b89b3e2b9..81d657385 100644 --- a/src/demos/com/jogamp/opengl/demos/graph/ui/UIShapeDemo01.java +++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UIShapeDemo01.java @@ -220,7 +220,6 @@ public class UIShapeDemo01 implements GLEventListener { public void reshape(final GLAutoDrawable drawable, final int xstart, final int ystart, final int width, final int height) { final GL2ES2 gl = drawable.getGL().getGL2ES2(); - gl.glViewport(xstart, ystart, width, height); rRenderer.reshapePerspective(45.0f, width, height, zNear, zFar); // rRenderer.reshapeOrtho(width, height, zNear, zFar); |