Skip to content

Commit

Permalink
Fixed compiling test with older C.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Feb 10, 2015
1 parent e3f9bf3 commit bd61c27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/relative_mode.markdown
Expand Up @@ -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)
Expand Down

0 comments on commit bd61c27

Please sign in to comment.