src/video/pandora/SDL_pandora.c
changeset 7191 75360622e65f
parent 7037 3fedf1f25b94
child 7468 e92571f09ce9
     1.1 --- a/src/video/pandora/SDL_pandora.c	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/src/video/pandora/SDL_pandora.c	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -38,7 +38,7 @@
     1.4  /* WIZ declarations */
     1.5  #include "GLES/gl.h"
     1.6  #ifdef WIZ_GLES_LITE
     1.7 -static NativeWindowType hNativeWnd = 0; // A handle to the window we will create.
     1.8 +static NativeWindowType hNativeWnd = 0; /* A handle to the window we will create. */
     1.9  #endif
    1.10  
    1.11  static SDL_bool PND_initialized = SDL_FALSE;
    1.12 @@ -343,7 +343,7 @@
    1.13          /* Already linked with GF library which provides egl* subset of  */
    1.14          /* functions, use Common profile of OpenGL ES library by default */
    1.15  #ifdef WIZ_GLES_LITE
    1.16 -	path = "/lib/libopengles_lite.so";
    1.17 +    path = "/lib/libopengles_lite.so";
    1.18  #else
    1.19          path = "/usr/lib/libGLES_CM.so";
    1.20  #endif
    1.21 @@ -628,21 +628,21 @@
    1.22  
    1.23  #ifdef WIZ_GLES_LITE
    1.24      if( !hNativeWnd ) {
    1.25 -	hNativeWnd = (NativeWindowType)malloc(16*1024);
    1.26 +    hNativeWnd = (NativeWindowType)malloc(16*1024);
    1.27  
    1.28 -	if(!hNativeWnd)
    1.29 -	    printf( "Error : Wiz framebuffer allocatation failed\n" ); 
    1.30 -	else
    1.31 -	    printf( "SDL13: Wiz framebuffer allocated: %X\n", hNativeWnd );
    1.32 +    if(!hNativeWnd)
    1.33 +        printf( "Error : Wiz framebuffer allocatation failed\n" );
    1.34 +    else
    1.35 +        printf( "SDL13: Wiz framebuffer allocated: %X\n", hNativeWnd );
    1.36      }
    1.37      else {
    1.38 -	printf( "SDL13: Wiz framebuffer already allocated: %X\n", hNativeWnd );
    1.39 +    printf( "SDL13: Wiz framebuffer already allocated: %X\n", hNativeWnd );
    1.40      }
    1.41  
    1.42      wdata->gles_surface =
    1.43 -	eglCreateWindowSurface(phdata->egl_display, 
    1.44 -			       wdata->gles_configs[wdata->gles_config],
    1.45 -			       hNativeWnd, NULL );
    1.46 +    eglCreateWindowSurface(phdata->egl_display,
    1.47 +                   wdata->gles_configs[wdata->gles_config],
    1.48 +                   hNativeWnd, NULL );
    1.49  #else
    1.50      wdata->gles_surface =
    1.51          eglCreateWindowSurface(phdata->egl_display,
    1.52 @@ -838,9 +838,9 @@
    1.53  #ifdef WIZ_GLES_LITE
    1.54      if( hNativeWnd != 0 )
    1.55      {
    1.56 -	  free(hNativeWnd);
    1.57 -	  hNativeWnd = 0;
    1.58 -	  printf( "SDL13: Wiz framebuffer released\n" );
    1.59 +      free(hNativeWnd);
    1.60 +      hNativeWnd = 0;
    1.61 +      printf( "SDL13: Wiz framebuffer released\n" );
    1.62      }
    1.63  #endif
    1.64