From 48651da7ad8787ba815a34bea247bf94f4edc70e Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 30 Mar 2021 15:14:44 +0300 Subject: [PATCH] add sdl2 test --- test/sdl2.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/sdl2.cpp diff --git a/test/sdl2.cpp b/test/sdl2.cpp new file mode 100644 index 00000000..f147f438 --- /dev/null +++ b/test/sdl2.cpp @@ -0,0 +1,19 @@ +#include + +int main() +{ + if (SDL_Init(SDL_INIT_EVERYTHING) != 0) + { + return 1; + } + + SDL_Event dummy; + + while (SDL_PollEvent(&dummy)) + { + } + + SDL_Quit(); + + return 0; +}