mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
implemented GetDriverCaps
This commit is contained in:
parent
60c7ddb7fe
commit
aaf1cf73bd
2 changed files with 7 additions and 4 deletions
|
|
@ -623,7 +623,10 @@ public class FSound {
|
|||
* @param caps IntBuffer to have the caps bits stored
|
||||
* @return On success, TRUE is returned. On failure, FALSE is returned
|
||||
*/
|
||||
public static native boolean FSOUND_GetDriverCaps(int driverid, IntBuffer caps);
|
||||
public static boolean FSOUND_GetDriverCaps(int driverid, IntBuffer caps) {
|
||||
return nFSOUND_GetDriverCaps(driverid, caps, caps.position());
|
||||
}
|
||||
private static native boolean nFSOUND_GetDriverCaps(int driverid, IntBuffer caps, int offset);
|
||||
|
||||
/**
|
||||
* Returns the name of the selected driver. Drivers are enumerated when selecting a driver with
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue