zdoom-macos-deps/test/sdl2.cpp

20 lines
175 B
C++
Raw Normal View History

2021-03-30 12:14:44 +00:00
#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;
}