mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 08:57:40 +00:00
Renamed SDL events for clarity
Fixes https://github.com/libsdl-org/SDL/issues/6877
This commit is contained in:
parent
74697bc351
commit
7b50bae524
101 changed files with 1375 additions and 862 deletions
|
@ -70,7 +70,7 @@ void loop()
|
|||
/* Check for events */
|
||||
while (SDL_PollEvent(&event)) {
|
||||
|
||||
if (event.type == SDL_MOUSEMOTION) {
|
||||
if (event.type == SDL_EVENT_MOUSE_MOTION) {
|
||||
if (event.motion.state) {
|
||||
float xrel, yrel;
|
||||
int window_w, window_h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue