test/testshape.c
changeset 7678 286c42d7c5ed
parent 7677 871d43c6968a
child 7720 f9a649383362
     1.1 --- a/test/testshape.c	Wed Aug 21 09:43:09 2013 -0300
     1.2 +++ b/test/testshape.c	Wed Aug 21 09:47:10 2013 -0300
     1.3 @@ -29,11 +29,11 @@
     1.4  
     1.5  void render(SDL_Renderer *renderer,SDL_Texture *texture,SDL_Rect texture_dimensions)
     1.6  {
     1.7 -    /*Clear render-target to blue. */
     1.8 +    /* Clear render-target to blue. */
     1.9      SDL_SetRenderDrawColor(renderer,0x00,0x00,0xff,0xff);
    1.10      SDL_RenderClear(renderer);
    1.11  
    1.12 -    /*Render the texture. */
    1.13 +    /* Render the texture. */
    1.14      SDL_RenderCopy(renderer,texture,&texture_dimensions,&texture_dimensions);
    1.15  
    1.16      SDL_RenderPresent(renderer);
    1.17 @@ -188,17 +188,17 @@
    1.18          next_time += TICK_INTERVAL;
    1.19      }
    1.20  
    1.21 -    /*Free the textures. */
    1.22 +    /* Free the textures. */
    1.23      for(i=0;i<num_pictures;i++)
    1.24          SDL_DestroyTexture(pictures[i].texture);
    1.25      SDL_DestroyRenderer(renderer);
    1.26 -    /*Destroy the window. */
    1.27 +    /* Destroy the window. */
    1.28      SDL_DestroyWindow(window);
    1.29 -    /*Free the original surfaces backing the textures. */
    1.30 +    /* Free the original surfaces backing the textures. */
    1.31      for(i=0;i<num_pictures;i++)
    1.32          SDL_FreeSurface(pictures[i].surface);
    1.33      SDL_free(pictures);
    1.34 -    /*Call SDL_VideoQuit() before quitting. */
    1.35 +    /* Call SDL_VideoQuit() before quitting. */
    1.36      SDL_VideoQuit();
    1.37  
    1.38      return 0;