mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 00:29:50 -04:00
preinit buffers
This commit is contained in:
parent
ddb68b6c41
commit
75e582d006
@ -24,8 +24,8 @@ import java.util.*;
|
|||||||
|
|
||||||
public class GLFW
|
public class GLFW
|
||||||
{
|
{
|
||||||
static FloatBuffer joystickData;
|
static FloatBuffer joystickData = (FloatBuffer)FloatBuffer.allocate(8).flip();
|
||||||
static ByteBuffer buttonData;
|
static ByteBuffer buttonData = (ByteBuffer)ByteBuffer.allocate(8).flip();
|
||||||
/** The major version number of the GLFW library. This is incremented when the API is changed in non-compatible ways. */
|
/** The major version number of the GLFW library. This is incremented when the API is changed in non-compatible ways. */
|
||||||
public static final int GLFW_VERSION_MAJOR = 3;
|
public static final int GLFW_VERSION_MAJOR = 3;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user