indent gsoc2008_nds
authorSam Lantinga <slouken@libsdl.org>
Wed, 27 Aug 2008 13:44:02 +0000
branchgsoc2008_nds
changeset 2699cf95a2fd3606
parent 2698 e1da92da346c
child 4409 e2188009f029
indent
src/video/ipod/SDL_ipodvideo.c
src/video/os2fslib/SDL_os2fslib.c
src/video/photon/SDL_ph_gl.c
     1.1 --- a/src/video/ipod/SDL_ipodvideo.c	Wed Aug 27 04:23:38 2008 +0000
     1.2 +++ b/src/video/ipod/SDL_ipodvideo.c	Wed Aug 27 13:44:02 2008 +0000
     1.3 @@ -777,8 +777,8 @@
     1.4                          ~(3 << (2 * (x % 4)));
     1.5                      ipod_scr[y * (lcd_width / 4) + x / 4] |=
     1.6                          (((Uint8 *) (SDL_VideoSurface->pixels))[y *
     1.7 -                                                                SDL_VideoSurface->pitch
     1.8 -                                                                +
     1.9 +                                                                SDL_VideoSurface->
    1.10 +                                                                pitch +
    1.11                                                                  x] & 3) << (2
    1.12                                                                              *
    1.13                                                                              (x
     2.1 --- a/src/video/os2fslib/SDL_os2fslib.c	Wed Aug 27 04:23:38 2008 +0000
     2.2 +++ b/src/video/os2fslib/SDL_os2fslib.c	Wed Aug 27 13:44:02 2008 +0000
     2.3 @@ -2503,19 +2503,24 @@
     2.4                                         pModeInfoFound->uiXResolution,
     2.5                                         pModeInfoFound->uiYResolution,
     2.6                                         pModeInfoFound->uiBPP, ((unsigned int)
     2.7 -                                                               pModeInfoFound->PixelFormat.ucRedMask)
     2.8 +                                                               pModeInfoFound->
     2.9 +                                                               PixelFormat.
    2.10 +                                                               ucRedMask)
    2.11                                         << pModeInfoFound->PixelFormat.
    2.12                                         ucRedPosition, ((unsigned int)
    2.13                                                         pModeInfoFound->
    2.14 -                                                       PixelFormat.ucGreenMask)
    2.15 +                                                       PixelFormat.
    2.16 +                                                       ucGreenMask)
    2.17                                         << pModeInfoFound->PixelFormat.
    2.18                                         ucGreenPosition, ((unsigned int)
    2.19                                                           pModeInfoFound->
    2.20 -                                                         PixelFormat.ucBlueMask)
    2.21 +                                                         PixelFormat.
    2.22 +                                                         ucBlueMask)
    2.23                                         << pModeInfoFound->PixelFormat.
    2.24                                         ucBluePosition, ((unsigned int)
    2.25                                                          pModeInfoFound->
    2.26 -                                                        PixelFormat.ucAlphaMask)
    2.27 +                                                        PixelFormat.
    2.28 +                                                        ucAlphaMask)
    2.29                                         << pModeInfoFound->PixelFormat.
    2.30                                         ucAlphaPosition);
    2.31  
     3.1 --- a/src/video/photon/SDL_ph_gl.c	Wed Aug 27 04:23:38 2008 +0000
     3.2 +++ b/src/video/photon/SDL_ph_gl.c	Wed Aug 27 13:44:02 2008 +0000
     3.3 @@ -322,10 +322,10 @@
     3.4                                                       gl_config.accum_blue_size
     3.5                                                       +
     3.6                                                       this->
     3.7 -                                                     gl_config.accum_green_size
     3.8 -                                                     +
     3.9 -                                                     this->
    3.10 -                                                     gl_config.accum_alpha_size);
    3.11 +                                                     gl_config.
    3.12 +                                                     accum_green_size +
    3.13 +                                                     this->gl_config.
    3.14 +                                                     accum_alpha_size);
    3.15      }
    3.16  
    3.17      /* Stereo mode */