Fixes a compile error in the unified renderer of the JOGL backend, doesn't rely on the auto-boxing

This commit is contained in:
Julien Gouesse 2015-08-30 21:36:58 +02:00
parent 2631684b3d
commit fae50fd36e

View File

@ -78,11 +78,11 @@ public class JoglGLExt implements GLExt {
@Override @Override
public int glClientWaitSync(Object sync, int flags, long timeout) { public int glClientWaitSync(Object sync, int flags, long timeout) {
return GLContext.getCurrentGL().getGL3ES3().glClientWaitSync((long) sync, flags, timeout); return GLContext.getCurrentGL().getGL3ES3().glClientWaitSync(((Long) sync).longValue(), flags, timeout);
} }
@Override @Override
public void glDeleteSync(Object sync) { public void glDeleteSync(Object sync) {
GLContext.getCurrentGL().getGL3ES3().glDeleteSync((long) sync); GLContext.getCurrentGL().getGL3ES3().glDeleteSync(((Long) sync).longValue());
} }
} }