mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
fix: actually set Listener & Buffer GUID's
This commit is contained in:
parent
9ecf595bd4
commit
7a2acd569d
4 changed files with 35 additions and 6 deletions
|
|
@ -45,12 +45,6 @@
|
|||
*/
|
||||
public abstract class BaseEAX {
|
||||
|
||||
/** GUID for buffer */
|
||||
public static int BUFFER_GUID;
|
||||
|
||||
/** GUID for listener */
|
||||
public static int LISTENER_GUID;
|
||||
|
||||
/** Has the EAX object been created? */
|
||||
protected static boolean created;
|
||||
|
||||
|
|
|
|||
|
|
@ -41,6 +41,12 @@
|
|||
*/
|
||||
public class CoreEAX extends BaseEAX implements BaseEAXConstants {
|
||||
|
||||
/** GUID for buffer */
|
||||
public static int BUFFER_GUID;
|
||||
|
||||
/** GUID for listener */
|
||||
public static int LISTENER_GUID;
|
||||
|
||||
/** Creates a new instance of CoreEAX */
|
||||
public CoreEAX() {
|
||||
}
|
||||
|
|
@ -50,6 +56,7 @@ public class CoreEAX extends BaseEAX implements BaseEAXConstants {
|
|||
*/
|
||||
protected void init() {
|
||||
determineAvailableExtensions();
|
||||
setGUID();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -57,6 +64,11 @@ public class CoreEAX extends BaseEAX implements BaseEAXConstants {
|
|||
*/
|
||||
protected native void determineAvailableExtensions();
|
||||
|
||||
/**
|
||||
* Sets the GUID's for the buffer and listener objects
|
||||
*/
|
||||
protected native void setGUID();
|
||||
|
||||
/**
|
||||
* Retrieves an EAX Value
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue