Try to get mouse works without trigger callback

This commit is contained in:
Duy Tran Khanh committed 2021-02-04 20:46:10 +07:00
1 parent 54a9e40c9f
commit b1c0530aed
3 files changed
+15 -10

No files matched your search

+2
View File
@@ -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(