add sdl2 test

This commit is contained in:
alexey.lysiuk 2021-03-30 15:14:44 +03:00
parent 818fc825ba
commit 48651da7ad

19
test/sdl2.cpp Normal file
View file

@ -0,0 +1,19 @@
#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;
}