I like those makeContextCurrent/releaseContext...

This commit is contained in:
Elias Naur 2003-03-30 19:40:35 +00:00
parent bc33d3ff2b
commit d58c8b767b
4 changed files with 50 additions and 3 deletions

View file

@ -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();
}