-// Copyright 2004 Adam Megacz, see the COPYING file for licensing [LGPL]
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the GNU General Public License version 2 ("the License").
+// You may not use this file except in compliance with the License.
+
// Author: Brian Alliet
package org.ibex.plat;
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 {