projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d69b68
)
small cleanup of variables usage
author
Holger Schemel
<info@artsoft.org>
Mon, 8 Feb 2016 20:07:24 +0000
(21:07 +0100)
committer
Holger Schemel
<info@artsoft.org>
Mon, 8 Feb 2016 20:07:24 +0000
(21:07 +0100)
src/libgame/sdl.c
patch
|
blob
|
history
diff --git
a/src/libgame/sdl.c
b/src/libgame/sdl.c
index 996621532c1f895bba022559d670b750605536ae..7fbd38f7de3f072a809ee218f06ea9da7093d153 100644
(file)
--- a/
src/libgame/sdl.c
+++ b/
src/libgame/sdl.c
@@
-144,9
+144,9
@@
static void UpdateScreen(SDL_Rect *rect)
#else // TARGET_SDL
if (rect)
- SDL_UpdateRects(
backbuffer->surface
, 1, rect);
+ SDL_UpdateRects(
screen
, 1, rect);
else
- SDL_UpdateRect(
backbuffer->surface
, 0, 0, 0, 0);
+ SDL_UpdateRect(
screen
, 0, 0, 0, 0);
#endif
}