add sdl source code

This commit is contained in:
Juraj Michalek
2013-11-25 20:39:11 +01:00
parent d72cb85d40
commit 3fbb5c1b83
2 changed files with 15 additions and 1 deletions

View 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;
}

View File

@@ -1,7 +1,8 @@
// 02-sdl2-video.cpp : SDL2 example - initialize video and display image
//
#include "stdafx.h"
#include <stdio.h>
#include <tchar.h>
#include "SDL.h"
int _tmain(int argc, _TCHAR* argv[]) {