Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <SDL2/SDL.h>
- int main() {
- if(SDL_Init(SDL_INIT_VIDEO) < 0) {
- printf("SDL init failed: %s\n", SDL_GetError());
- return 0;
- }
- SDL_Window* window;
- window = SDL_CreateWindow("n/a", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 1280, 720, SDL_WINDOW_SHOWN);
- SDL_VideoQuit();
- SDL_Quit();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement