![c++ - calculate the offset between a quad and the mouse position Opengl - Game Development Stack Exchange c++ - calculate the offset between a quad and the mouse position Opengl - Game Development Stack Exchange](https://i.stack.imgur.com/nSlrm.png)
c++ - calculate the offset between a quad and the mouse position Opengl - Game Development Stack Exchange
SDL_GetMouseState() seems to give raw mouse position when using SDL_RenderSetLogicalSize() · Issue #1397 · libsdl-org/SDL · GitHub
![Mac SDL + OpenGL - Glad] If Monitors are offset from one another then mouse position reported is wrong · Issue #2744 · ocornut/imgui · GitHub Mac SDL + OpenGL - Glad] If Monitors are offset from one another then mouse position reported is wrong · Issue #2744 · ocornut/imgui · GitHub](https://user-images.githubusercontent.com/22880786/63581522-9384b100-c5da-11e9-91c5-700fc70e11a4.png)
Mac SDL + OpenGL - Glad] If Monitors are offset from one another then mouse position reported is wrong · Issue #2744 · ocornut/imgui · GitHub
![c++ - How do I get my cursor's position with respect to the window using graphics.h? - Stack Overflow c++ - How do I get my cursor's position with respect to the window using graphics.h? - Stack Overflow](https://i.stack.imgur.com/lrEkZ.png)