mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 22:45:50 +00:00
I like those makeContextCurrent/releaseContext...
This commit is contained in:
parent
bc33d3ff2b
commit
d58c8b767b
4 changed files with 50 additions and 3 deletions
|
|
@ -170,4 +170,14 @@ public class BaseGL extends Window {
|
|||
*/
|
||||
private native void nDestroyGL();
|
||||
|
||||
/**
|
||||
* Make the GL context current to the current thread
|
||||
*/
|
||||
public native void makeContextCurrent();
|
||||
|
||||
/**
|
||||
* Release the GL context
|
||||
*/
|
||||
public native void releaseContext();
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue