mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-01-16 08:36:50 +01:00
add sdl source code
This commit is contained in:
13
sdl/01-sdl2-init/01-sdl2-init.cpp
Normal file
13
sdl/01-sdl2-init/01-sdl2-init.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
// sdl2-sample.cpp : SDL2 example - initialize and quit
|
||||
//
|
||||
|
||||
#include <tchar.h>
|
||||
#include "SDL.h"
|
||||
|
||||
int _tmain(int argc, _TCHAR* argv[])
|
||||
{
|
||||
SDL_Init(SDL_INIT_EVERYTHING);
|
||||
SDL_Quit();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user