fixes to lwjgl renderer

This commit is contained in:
codeanticode
2015-01-12 14:38:25 -05:00
parent 4817c57655
commit 32240d2901
6 changed files with 36 additions and 38 deletions

View File

@@ -612,11 +612,16 @@ public abstract class PGL {
// protected abstract void swapBuffers();
protected boolean threadIsCurrent() {
public boolean threadIsCurrent() {
return Thread.currentThread() == glThread;
}
public void setThread(Thread thread) {
glThread = thread;
}
protected void beginGL() { }