src/video/uikit/SDL_uikitvideo.m
changeset 5131 7b7da52e8775
parent 5056 8b7988f42fcb
child 5154 fb424691cfc7
     1.1 --- a/src/video/uikit/SDL_uikitvideo.m	Tue Feb 01 08:54:34 2011 -0800
     1.2 +++ b/src/video/uikit/SDL_uikitvideo.m	Tue Feb 01 08:59:22 2011 -0800
     1.3 @@ -56,7 +56,7 @@
     1.4  static int
     1.5  UIKit_Available(void)
     1.6  {
     1.7 -	return (1);
     1.8 +    return (1);
     1.9  }
    1.10  
    1.11  static void UIKit_DeleteDevice(SDL_VideoDevice * device)
    1.12 @@ -85,22 +85,22 @@
    1.13      device->GetDisplayModes = UIKit_GetDisplayModes;
    1.14      device->SetDisplayMode = UIKit_SetDisplayMode;
    1.15      device->PumpEvents = UIKit_PumpEvents;
    1.16 -	device->CreateWindow = UIKit_CreateWindow;
    1.17 -	device->DestroyWindow = UIKit_DestroyWindow;
    1.18 +    device->CreateWindow = UIKit_CreateWindow;
    1.19 +    device->DestroyWindow = UIKit_DestroyWindow;
    1.20      device->GetWindowWMInfo = UIKit_GetWindowWMInfo;
    1.21 -	
    1.22 -	
    1.23 -	/* OpenGL (ES) functions */
    1.24 -	device->GL_MakeCurrent		= UIKit_GL_MakeCurrent;
    1.25 -	device->GL_SwapWindow		= UIKit_GL_SwapWindow;
    1.26 -	device->GL_CreateContext	= UIKit_GL_CreateContext;
    1.27 -	device->GL_DeleteContext    = UIKit_GL_DeleteContext;
    1.28 -	device->GL_GetProcAddress   = UIKit_GL_GetProcAddress;
    1.29 -	device->GL_LoadLibrary	    = UIKit_GL_LoadLibrary;
    1.30 -	device->free = UIKit_DeleteDevice;
    1.31 +    
    1.32 +    
    1.33 +    /* OpenGL (ES) functions */
    1.34 +    device->GL_MakeCurrent        = UIKit_GL_MakeCurrent;
    1.35 +    device->GL_SwapWindow        = UIKit_GL_SwapWindow;
    1.36 +    device->GL_CreateContext    = UIKit_GL_CreateContext;
    1.37 +    device->GL_DeleteContext    = UIKit_GL_DeleteContext;
    1.38 +    device->GL_GetProcAddress   = UIKit_GL_GetProcAddress;
    1.39 +    device->GL_LoadLibrary        = UIKit_GL_LoadLibrary;
    1.40 +    device->free = UIKit_DeleteDevice;
    1.41  
    1.42 -	device->gl_config.accelerated = 1;
    1.43 -	
    1.44 +    device->gl_config.accelerated = 1;
    1.45 +
    1.46      return device;
    1.47  }
    1.48