mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #51 - Protocol and FPS improvements, better workspace
This commit is contained in:
@ -40,6 +40,7 @@ class OpenGLObjects {
|
||||
static class VertexArrayGL implements IVertexArrayGL {
|
||||
|
||||
final int ptr;
|
||||
int enabled;
|
||||
|
||||
VertexArrayGL(int ptr) {
|
||||
this.ptr = ptr;
|
||||
@ -53,7 +54,22 @@ class OpenGLObjects {
|
||||
public void free() {
|
||||
PlatformOpenGL._wglDeleteVertexArrays(this);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int getBits() {
|
||||
return enabled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setBit(int bit) {
|
||||
enabled |= bit;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void unsetBit(int bit) {
|
||||
enabled &= ~bit;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static class TextureGL implements ITextureGL {
|
||||
|
@ -580,7 +580,7 @@ public class PlatformInput {
|
||||
}
|
||||
|
||||
public static boolean contextLost() {
|
||||
return glfwGetWindowAttrib(win, GLFW_ICONIFIED) == GLFW_TRUE;
|
||||
return false;
|
||||
}
|
||||
|
||||
public static void setFunctionKeyModifier(int key) {
|
||||
|
@ -101,7 +101,11 @@ public class PlatformRuntime {
|
||||
IEaglerFilesystem resourcePackFilesystem = Filesystem.getHandleFor(getClientConfigAdapter().getResourcePacksDB());
|
||||
VFile2.setPrimaryFilesystem(resourcePackFilesystem);
|
||||
EaglerFolderResourcePack.setSupported(true);
|
||||
|
||||
|
||||
if (glfwPlatformSupported(GLFW_PLATFORM_X11)) {
|
||||
glfwInitHint(GLFW_PLATFORM, GLFW_PLATFORM_X11);
|
||||
}
|
||||
|
||||
if(requestedANGLEPlatform != EnumPlatformANGLE.DEFAULT) {
|
||||
logger.info("Setting ANGLE Platform: {}", requestedANGLEPlatform.name);
|
||||
glfwInitHint(GLFW_ANGLE_PLATFORM_TYPE, requestedANGLEPlatform.eglEnum);
|
||||
|
@ -65,6 +65,14 @@ public class PlatformVoiceClient {
|
||||
|
||||
}
|
||||
|
||||
public static void makePeerGlobal(EaglercraftUUID peerId) {
|
||||
|
||||
}
|
||||
|
||||
public static void makePeerProximity(EaglercraftUUID peerId) {
|
||||
|
||||
}
|
||||
|
||||
public static void tickVoiceClient() {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user