With this fix, and the new JVM, I think full screen actually works now.
It's a miracle! git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2523 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: BackFrameManager.java,v 1.3 2003/05/01 22:06:52 mdb Exp $
|
// $Id: BackFrameManager.java,v 1.4 2003/05/02 18:03:17 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media;
|
package com.threerings.media;
|
||||||
|
|
||||||
@@ -47,6 +47,10 @@ public class BackFrameManager extends FrameManager
|
|||||||
// business rather than just the dirty parts
|
// business rather than just the dirty parts
|
||||||
if (valres != VolatileImage.IMAGE_OK) {
|
if (valres != VolatileImage.IMAGE_OK) {
|
||||||
Log.info("Lost back buffer, redrawing.");
|
Log.info("Lost back buffer, redrawing.");
|
||||||
|
// apparently we have to recreate our volatile image even
|
||||||
|
// if it doesn't indicate that it's incompatible; three
|
||||||
|
// cheers for Sun!
|
||||||
|
createBackBuffer(gc);
|
||||||
incremental = false;
|
incremental = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user