mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-21 19:41:15 +00:00
da45e6c424
[skip ci]
19 lines
208 B
C++
19 lines
208 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;
|
|
}
|