AWTGLCanvas: Ignore failure to lock drawing surface, since that can happen when the component is being destroyed

This commit is contained in:
Elias Naur 2006-11-10 10:20:44 +00:00
parent 9d0d20f7ac
commit c0248a7ee4

View file

@ -320,7 +320,7 @@ public class AWTGLCanvas extends Canvas implements Drawable, ComponentListener,
peer_info.unlock();
}
} catch (LWJGLException e) {
throw new RuntimeException(e);
LWJGLUtil.log("Failed to lock surface, skipping paint(): " + e);
}
}
}