Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define BITS 32
- #define SDL_createWindow(name, w, h, icon) \
- SDL_SetVideoMode(w, h, BITS, SDL_HWSURFACE | SDL_DOUBLEBUF); \
- SDL_WM_SetCaption(name, NULL); \
- SDL_WM_SetIcon(icon, NULL);
- SDL_Surface *screen = SDL_createWindow("Program", 800, 400, NULL);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement