2019-01-30 23:14:36 +00:00
|
|
|
#include <stdio.h>
|
2018-04-11 22:14:36 +00:00
|
|
|
#include <SDL2/SDL.h>
|
|
|
|
|
|
|
|
int main(void) {
|
|
|
|
SDL_Init(SDL_INIT_VIDEO);
|
2019-01-30 23:14:36 +00:00
|
|
|
SDL_Window *w = SDL_CreateWindow("nice", SDL_WINDOWPOS_UNDEFINED,
|
|
|
|
SDL_WINDOWPOS_UNDEFINED, 1280, 720, SDL_WINDOW_OPENGL);
|
2019-03-12 14:21:29 +00:00
|
|
|
puts("ohai");//printf("%s\n", "ohai");
|
2018-04-11 22:14:36 +00:00
|
|
|
SDL_Delay(3000);
|
|
|
|
SDL_DestroyWindow(w);
|
|
|
|
return 0;
|
|
|
|
}
|
2019-01-28 03:18:22 +00:00
|
|
|
|