zdoom-macos-deps/test/sdl2.cpp
2021-03-30 15:15:03 +03:00

19 lines
175 B
C++

#include <SDL.h>
int main()
{
if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
{
return 1;
}
SDL_Event dummy;
while (SDL_PollEvent(&dummy))
{
}
SDL_Quit();
return 0;
}