Fixed compiling test with older C.

Philipp Wiesemann 2015-02-10 20:31:05 +01:00
parent e3f9bf3378
commit bd61c276fa
1 changed files with 3 additions and 1 deletions

View File

@ -37,9 +37,11 @@ Code
int main(int argc, char *argv[])
{
SDL_Window *win;
SDL_Init(SDL_INIT_VIDEO);
SDL_Window *win = SDL_CreateWindow("Test", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 800, 600, 0);
win = SDL_CreateWindow("Test", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 800, 600, 0);
SDL_SetRelativeMouseMode(SDL_TRUE);
while (1)