Please sign in to comment.
[SDL2] Mouse position is adjusted using the size of the focused window.
SDL_GetVideoSurface() does not exist anymore. We get the active window with SDL_GetMouseFocus() then we request its size with SDL_GetWindowSize().
- Loading branch information...
Showing with 9 additions and 3 deletions.