Completely fixed monitor size is 0x0 (Forge mouse input should work rn)
This commit is contained in:
1 parent
39b21f6380
commit
d4b962ae75
5 files changed
+45
-40
No files matched your search
@@ -16,8 +16,7 @@ public class UIKit {
|
||||
}
|
||||
|
||||
public static void callback_SurfaceViewController_launchMinecraft(int width, int height) {
|
||||
GLFW.mGLFWWindowWidth = width;
|
||||
GLFW.mGLFWWindowHeight = height;
|
||||
GLFW.internalChangeMonitorSize(width, height);
|
||||
CallbackBridge.mouseX = width / 2;
|
||||
CallbackBridge.mouseY = height / 2;
|
||||
PLaunchApp.launchMinecraft();
|
||||
|
||||
Reference in new issue
Block a user