mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 03:04:14 +02:00
Unified nomenclature for cursor positions.
This commit is contained in:
@@ -39,7 +39,7 @@ int main(void)
|
||||
do
|
||||
{
|
||||
double t = glfwGetTime();
|
||||
glfwGetMousePos(window, &x, NULL);
|
||||
glfwGetCursorPos(window, &x, NULL);
|
||||
|
||||
// Get window size (may be different than the requested size)
|
||||
glfwGetWindowSize(window, &width, &height);
|
||||
|
||||
Reference in New Issue
Block a user