src/video/pandora/SDL_pandora.c
changeset 7191 75360622e65f
parent 7037 3fedf1f25b94
child 7468 e92571f09ce9
--- a/src/video/pandora/SDL_pandora.c	Sat May 18 12:48:50 2013 -0700
+++ b/src/video/pandora/SDL_pandora.c	Sat May 18 14:17:52 2013 -0700
@@ -38,7 +38,7 @@
 /* WIZ declarations */
 #include "GLES/gl.h"
 #ifdef WIZ_GLES_LITE
-static NativeWindowType hNativeWnd = 0; // A handle to the window we will create.
+static NativeWindowType hNativeWnd = 0; /* A handle to the window we will create. */
 #endif
 
 static SDL_bool PND_initialized = SDL_FALSE;
@@ -343,7 +343,7 @@
         /* Already linked with GF library which provides egl* subset of  */
         /* functions, use Common profile of OpenGL ES library by default */
 #ifdef WIZ_GLES_LITE
-	path = "/lib/libopengles_lite.so";
+    path = "/lib/libopengles_lite.so";
 #else
         path = "/usr/lib/libGLES_CM.so";
 #endif
@@ -628,21 +628,21 @@
 
 #ifdef WIZ_GLES_LITE
     if( !hNativeWnd ) {
-	hNativeWnd = (NativeWindowType)malloc(16*1024);
+    hNativeWnd = (NativeWindowType)malloc(16*1024);
 
-	if(!hNativeWnd)
-	    printf( "Error : Wiz framebuffer allocatation failed\n" ); 
-	else
-	    printf( "SDL13: Wiz framebuffer allocated: %X\n", hNativeWnd );
+    if(!hNativeWnd)
+        printf( "Error : Wiz framebuffer allocatation failed\n" );
+    else
+        printf( "SDL13: Wiz framebuffer allocated: %X\n", hNativeWnd );
     }
     else {
-	printf( "SDL13: Wiz framebuffer already allocated: %X\n", hNativeWnd );
+    printf( "SDL13: Wiz framebuffer already allocated: %X\n", hNativeWnd );
     }
 
     wdata->gles_surface =
-	eglCreateWindowSurface(phdata->egl_display, 
-			       wdata->gles_configs[wdata->gles_config],
-			       hNativeWnd, NULL );
+    eglCreateWindowSurface(phdata->egl_display,
+                   wdata->gles_configs[wdata->gles_config],
+                   hNativeWnd, NULL );
 #else
     wdata->gles_surface =
         eglCreateWindowSurface(phdata->egl_display,
@@ -838,9 +838,9 @@
 #ifdef WIZ_GLES_LITE
     if( hNativeWnd != 0 )
     {
-	  free(hNativeWnd);
-	  hNativeWnd = 0;
-	  printf( "SDL13: Wiz framebuffer released\n" );
+      free(hNativeWnd);
+      hNativeWnd = 0;
+      printf( "SDL13: Wiz framebuffer released\n" );
     }
 #endif