projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20000722-1-src
[rocksndiamonds.git]
/
src
/
sdl.c
diff --git
a/src/sdl.c
b/src/sdl.c
index 3f1930136e0e4c8033766490842bb973cb45f9cf..bcebf7f27b69ae86a845af2305cb26552b7f5b9f 100644
(file)
--- a/
src/sdl.c
+++ b/
src/sdl.c
@@
-53,6
+53,7
@@
inline void SDLFillRectangle(SDL_Surface *surface, int x, int y,
SDL_FillRect(surface, &rect,
SDL_MapRGB(surface->format, color_r, color_g, color_b));
+ SDL_UpdateRect(surface, x, y, width, height);
}
inline void SDLDrawSimpleLine(SDL_Surface *surface, int from_x, int from_y,