Win32: Moved some Win32Display.getVersion code to java

This commit is contained in:
Elias Naur 2005-09-23 10:39:56 +00:00
parent 77412a26a2
commit 39cb1c580d
4 changed files with 16 additions and 65 deletions

View file

@ -79,7 +79,10 @@ final class Win32Display implements DisplayImplementation {
return null;
}
public native String getVersion();
public String getVersion() {
return nGetVersion(getAdapter());
}
private native String nGetVersion(String driver);
public native DisplayMode init() throws LWJGLException;
public native void setTitle(String title);
public native boolean isCloseRequested();