Mercurial > sdl-ios-xcode
diff src/video/uikit/SDL_uikitvideo.m @ 5134:7b7da52e8775
Fixed spacing
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 01 Feb 2011 08:59:22 -0800 |
parents | 8b7988f42fcb |
children | fb424691cfc7 |
line wrap: on
line diff
--- a/src/video/uikit/SDL_uikitvideo.m Tue Feb 01 08:54:34 2011 -0800 +++ b/src/video/uikit/SDL_uikitvideo.m Tue Feb 01 08:59:22 2011 -0800 @@ -56,7 +56,7 @@ static int UIKit_Available(void) { - return (1); + return (1); } static void UIKit_DeleteDevice(SDL_VideoDevice * device) @@ -85,22 +85,22 @@ device->GetDisplayModes = UIKit_GetDisplayModes; device->SetDisplayMode = UIKit_SetDisplayMode; device->PumpEvents = UIKit_PumpEvents; - device->CreateWindow = UIKit_CreateWindow; - device->DestroyWindow = UIKit_DestroyWindow; + device->CreateWindow = UIKit_CreateWindow; + device->DestroyWindow = UIKit_DestroyWindow; device->GetWindowWMInfo = UIKit_GetWindowWMInfo; - - - /* OpenGL (ES) functions */ - device->GL_MakeCurrent = UIKit_GL_MakeCurrent; - device->GL_SwapWindow = UIKit_GL_SwapWindow; - device->GL_CreateContext = UIKit_GL_CreateContext; - device->GL_DeleteContext = UIKit_GL_DeleteContext; - device->GL_GetProcAddress = UIKit_GL_GetProcAddress; - device->GL_LoadLibrary = UIKit_GL_LoadLibrary; - device->free = UIKit_DeleteDevice; + + + /* OpenGL (ES) functions */ + device->GL_MakeCurrent = UIKit_GL_MakeCurrent; + device->GL_SwapWindow = UIKit_GL_SwapWindow; + device->GL_CreateContext = UIKit_GL_CreateContext; + device->GL_DeleteContext = UIKit_GL_DeleteContext; + device->GL_GetProcAddress = UIKit_GL_GetProcAddress; + device->GL_LoadLibrary = UIKit_GL_LoadLibrary; + device->free = UIKit_DeleteDevice; - device->gl_config.accelerated = 1; - + device->gl_config.accelerated = 1; + return device; }