dst_rect.h = height;
SDL_BlitSurface(src_surface, &src_rect, dst_surface, &dst_rect);
+#if 1
SDL_UpdateRect(dst_surface, dst_x, dst_y, width, height);
+#endif
}
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,