Try to get mouse works without trigger callback
This commit is contained in:
1 parent
54a9e40c9f
commit
b1c0530aed
3 files changed
+15
-10
No files matched your search
@@ -73,6 +73,8 @@ public class HelloWorld {
|
||||
|
||||
// Get the resolution of the primary monitor
|
||||
GLFWVidMode vidmode = glfwGetVideoMode(glfwGetPrimaryMonitor());
|
||||
|
||||
System.out.println("Actual width=" + vidmode.width() + ", height=" + vidmode.height());
|
||||
|
||||
// Center the window
|
||||
glfwSetWindowPos(
|
||||
|
||||
Reference in new issue
Block a user