projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added function to update the mouse position when changing window size
[rocksndiamonds.git]
/
src
/
libgame
/
sdl.c
diff --git
a/src/libgame/sdl.c
b/src/libgame/sdl.c
index 45f7f2ce69a823b9b4f635bb6a8c334765f87736..fca1e8b9f3e357c06f8ac4818344ed4f30efbaf0 100644
(file)
--- a/
src/libgame/sdl.c
+++ b/
src/libgame/sdl.c
@@
-2362,7
+2362,7
@@
void SDLWaitEvent(Event *event)
SDL_WaitEvent(event);
}
-void SDLCorrect
MouseEventXY
(int *x, int *y)
+void SDLCorrect
RawMousePosition
(int *x, int *y)
{
if (sdl_renderer == NULL)
return;