Fixed compiling test with older C.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Tue, 10 Feb 2015 20:31:05 +0100
changeset 93377e5940a2cda6
parent 9336 1a1ec75b608c
child 9338 86bc1c9a090f
Fixed compiling test with older C.
test/relative_mode.markdown
     1.1 --- a/test/relative_mode.markdown	Sun Feb 08 22:50:16 2015 +0100
     1.2 +++ b/test/relative_mode.markdown	Tue Feb 10 20:31:05 2015 +0100
     1.3 @@ -37,9 +37,11 @@
     1.4  
     1.5      int main(int argc, char *argv[])
     1.6      {
     1.7 +        SDL_Window *win;
     1.8 +
     1.9          SDL_Init(SDL_INIT_VIDEO);
    1.10  
    1.11 -        SDL_Window *win = SDL_CreateWindow("Test", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 800, 600, 0);
    1.12 +        win = SDL_CreateWindow("Test", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 800, 600, 0);
    1.13          SDL_SetRelativeMouseMode(SDL_TRUE);
    1.14  
    1.15          while (1)