#endif
}
+inline void FreeBitmap(Bitmap bitmap)
+{
+#ifdef USE_SDL_LIBRARY
+ SDL_FreeSurface(bitmap);
+#else
+ XFreePixmap(display, bitmap);
+#endif
+}
+
inline void ClearRectangle(Bitmap bitmap, int x, int y, int width, int height)
{
#ifdef USE_SDL_LIBRARY
inline boolean SetVideoMode(void)
{
#ifdef USE_SDL_LIBRARY
- return SDLSetVideoMode(&backbuffer, &window);
+ return SDLSetVideoMode(&backbuffer);
#else
boolean success = TRUE;