VS2015 works

This commit is contained in:
BADIM-PC\Vadim
2018-02-21 16:01:45 +03:00
parent d442813de8
commit f7da6b7f51
6 changed files with 267 additions and 17 deletions

View File

@@ -1162,7 +1162,6 @@ static s32 start(s32 argc, char **argv, const char* folder)
platform.studio = studioInit(argc, argv, platform.audio.spec.freq, folder, &systemInterface);
tic_mem* tic = platform.studio->tic;
setWindowIcon();
initTouchGamepad();
@@ -1171,6 +1170,8 @@ static s32 start(s32 argc, char **argv, const char* folder)
platform.window = SDL_CreateWindow( TIC_TITLE, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
Width, Height, SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE| SDL_WINDOW_OPENGL);
setWindowIcon();
GPU_SetInitWindow(SDL_GetWindowID(platform.window));
GPU_Target* screen = GPU_Init(Width, Height, GPU_INIT_DISABLE_VSYNC);