test/testgl.c
changeset 3585 f8816ffa210b
parent 3571 19691cebb866
child 4884 27ab20a36eba
equal deleted inserted replaced
3584:41d01d70659c 3585:f8816ffa210b
   268             return;
   268             return;
   269         }
   269         }
   270     }
   270     }
   271 
   271 
   272     /* Move the image around */
   272     /* Move the image around */
   273     SDL_GetMouseState(0, &x, &y);
   273     SDL_GetMouseState(&x, &y);
   274     x -= w / 2;
   274     x -= w / 2;
   275     y -= h / 2;
   275     y -= h / 2;
   276 
   276 
   277     /* Show the image on the screen */
   277     /* Show the image on the screen */
   278     SDL_GL_Enter2DMode();
   278     SDL_GL_Enter2DMode();