make core compile with new js stuff and Task replacement class
[org.ibex.core.git] / src / org / ibex / plat / OpenGL.java
index eee8c21..3d0e7cd 100644 (file)
@@ -138,7 +138,7 @@ abstract class OpenGL {
     public void deleteTexture(final int tex) {
         // CHECKME: Is this safe to do from finalize()?
         // natDeleteTexture MUST be run from the message queue thread
-        Scheduler.add(new Task() { public void perform() { natDeleteTexture(tex); }});
+        Scheduler.add(new Callable() { public Object run(Object o) { natDeleteTexture(tex); return null; }});
     }
     
     private static abstract class GLPicture {