mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 14:35:58 +00:00
Win32: Moved some Win32Display.getVersion code to java
This commit is contained in:
parent
77412a26a2
commit
39cb1c580d
4 changed files with 16 additions and 65 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue