mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-14 00:11:16 +00:00
20 lines
175 B
C++
20 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;
|
||
|
}
|