Closed pkomon-tgm closed 4 months ago
Our input mapping used the last mouse position. But this was not initialized as now we only send mouse move events when a button is pressed.
I now query the mouse position with glfwGetCursorPos
on scroll.
fixed with 8b90acb54a2c2040781e2bcd400ad751d9a1008a
Using the scroll wheel without other prior interaction in the web version causes a black screen, that can only be fixed by reloading the page.
To reproduce
This might have something to do with depth buffer read back. The issue does not appear the mouse is pressed down first. Maybe some initializiation is missing somewhere.
tested on Google Chrome 127.0.6533.73