Merge commit 'a22ac9e1c8e7b1cd78aa197bf1727a9f97f74b5e' into dev

This commit is contained in:
SimoneN64
2024-09-22 15:30:30 +02:00
60 changed files with 2597 additions and 1126 deletions

View File

@@ -211,6 +211,7 @@ static void loop(void *arg)
/* Check for events */
while (SDL_PollEvent(&event)) {
SDLTest_CommonEvent(state, &event, done);
SDL_ConvertEventToRenderCoordinates(SDL_GetRenderer(SDL_GetWindowFromEvent(&event)), &event);
switch (event.type) {
case SDL_EVENT_MOUSE_BUTTON_DOWN:
mouse_begin_x = event.button.x;