Fixes a compile error in the unified renderer of the JOGL backend, doesn't rely on the auto-boxing
This commit is contained in:
parent
2631684b3d
commit
fae50fd36e
@ -78,11 +78,11 @@ public class JoglGLExt implements GLExt {
|
||||
|
||||
@Override
|
||||
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
|
||||
public void glDeleteSync(Object sync) {
|
||||
GLContext.getCurrentGL().getGL3ES3().glDeleteSync((long) sync);
|
||||
GLContext.getCurrentGL().getGL3ES3().glDeleteSync(((Long) sync).longValue());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user