summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-10-03 01:18:34 -0700
committerSven Gothel <[email protected]>2009-10-03 01:18:34 -0700
commitcf4c403733363a0e0e06079d85ddae91399696ab (patch)
treefc32b0cef12f1472130ab7ed6e571c2d2df28c7a /src/newt/classes/com
parent1304fcd939bea7ea804d2fef22a942848b02a20b (diff)
Offscreen/PBuffer capabilities cleanup ; Generic read drawable support
Diffstat (limited to 'src/newt/classes/com')
-rw-r--r--src/newt/classes/com/sun/javafx/newt/opengl/GLWindow.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/newt/classes/com/sun/javafx/newt/opengl/GLWindow.java b/src/newt/classes/com/sun/javafx/newt/opengl/GLWindow.java
index 1404fea7c..90a3d18ba 100644
--- a/src/newt/classes/com/sun/javafx/newt/opengl/GLWindow.java
+++ b/src/newt/classes/com/sun/javafx/newt/opengl/GLWindow.java
@@ -515,6 +515,10 @@ public class GLWindow extends Window implements GLAutoDrawable {
}
public void display() {
+ display(false);
+ }
+
+ public void display(boolean forceReshape) {
if(getSurfaceHandle()!=0) {
if(runPumpMessages) {
displayPumpMessage.run(window.getScreen().getDisplay());
@@ -526,6 +530,9 @@ public class GLWindow extends Window implements GLAutoDrawable {
destroy();
sendDestroy=false;
} else {
+ if(forceReshape) {
+ sendReshape = true;
+ }
helper.invokeGL(drawable, context, displayAction, initAction);
}
}