summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/jogamp')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java b/src/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java
index f00e59347..f15c79f68 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java
@@ -584,16 +584,16 @@ public abstract class TileRendererBase {
}
@Override
public void display(GLAutoDrawable drawable) {
+ if( null != glEventListenerPre ) {
+ glEventListenerPre.reshape(drawable, 0, 0, currentTileWidth, currentTileHeight);
+ glEventListenerPre.display(drawable);
+ }
if( !isSetup() ) {
if( DEBUG ) {
System.err.println("TileRenderer.glel.display: !setup: "+TileRendererBase.this);
}
return;
}
- if( null != glEventListenerPre ) {
- glEventListenerPre.reshape(drawable, 0, 0, currentTileWidth, currentTileHeight);
- glEventListenerPre.display(drawable);
- }
final GL gl = drawable.getGL();
beginTile(gl);