src/render/psp/SDL_render_psp.c
changeset 7677 871d43c6968a
parent 7663 53fe1b64eb2d
child 7719 31b5f9ff36ca
     1.1 --- a/src/render/psp/SDL_render_psp.c	Tue Aug 20 23:20:32 2013 -0400
     1.2 +++ b/src/render/psp/SDL_render_psp.c	Wed Aug 21 09:43:09 2013 -0300
     1.3 @@ -458,7 +458,7 @@
     1.4  static int
     1.5  PSP_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
     1.6  {
     1.7 -/*      PSP_RenderData *renderdata = (PSP_RenderData *) renderer->driverdata;*/
     1.8 +/*      PSP_RenderData *renderdata = (PSP_RenderData *) renderer->driverdata; */
     1.9      PSP_TextureData* psp_texture = (PSP_TextureData*) SDL_calloc(1, sizeof(*psp_texture));;
    1.10  
    1.11      if(!psp_texture)
    1.12 @@ -528,7 +528,7 @@
    1.13  PSP_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
    1.14                     const SDL_Rect * rect, const void *pixels, int pitch)
    1.15  {
    1.16 -/*  PSP_TextureData *psp_texture = (PSP_TextureData *) texture->driverdata;*/
    1.17 +/*  PSP_TextureData *psp_texture = (PSP_TextureData *) texture->driverdata; */
    1.18      const Uint8 *src;
    1.19      Uint8 *dst;
    1.20      int row, length,dpitch;
    1.21 @@ -895,8 +895,8 @@
    1.22          sceGuColor(0xFFFFFFFF);
    1.23      }
    1.24  
    1.25 -/*      x += width * 0.5f;*/
    1.26 -/*      y += height * 0.5f;*/
    1.27 +/*      x += width * 0.5f; */
    1.28 +/*      y += height * 0.5f; */
    1.29      x += centerx;
    1.30      y += centery;
    1.31  
    1.32 @@ -904,8 +904,8 @@
    1.33  
    1.34      MathSincos(degToRad(angle), &s, &c);
    1.35  
    1.36 -/*      width *= 0.5f;*/
    1.37 -/*      height *= 0.5f;*/
    1.38 +/*      width *= 0.5f; */
    1.39 +/*      height *= 0.5f; */
    1.40      width  -= centerx;
    1.41      height -= centery;
    1.42  
    1.43 @@ -968,7 +968,7 @@
    1.44      sceGuFinish();
    1.45      sceGuSync(0,0);
    1.46  
    1.47 -/*  if(data->vsync)*/
    1.48 +/*  if(data->vsync) */
    1.49          sceDisplayWaitVblankStart();
    1.50  
    1.51      data->backbuffer = data->frontbuffer;
    1.52 @@ -1007,8 +1007,8 @@
    1.53          StartDrawing(renderer);
    1.54  
    1.55          sceGuTerm();
    1.56 -/*      vfree(data->backbuffer);*/
    1.57 -/*      vfree(data->frontbuffer);*/
    1.58 +/*      vfree(data->backbuffer); */
    1.59 +/*      vfree(data->frontbuffer); */
    1.60  
    1.61          data->initialized = SDL_FALSE;
    1.62          data->displayListAvail = SDL_FALSE;