Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Are you sure you haven't forgot about multiplying the event coords by SDL_GetWindowPixelDensity

Oooh! Didn't know about this. Neither SDL_GetGlobalMouseState nor SDL_MouseMotionEvent docs speak of no such thing. Anyways, it works now :P