Mercurial > sdl-ios-xcode
changeset 2244:5234868559fa
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 15 Aug 2007 03:50:49 +0000 |
parents | 5523312f311e |
children | 989fb86ad1ec |
files | src/video/directfb/SDL_DirectFB_render.c src/video/x11/SDL_x11opengl.c |
diffstat | 2 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_render.c Wed Aug 15 03:34:14 2007 +0000 +++ b/src/video/directfb/SDL_DirectFB_render.c Wed Aug 15 03:50:49 2007 +0000 @@ -507,7 +507,7 @@ (DirectFB_RenderData *) renderer->driverdata; DFBResult ret; Uint8 *dpixels; - int dpitch; + int dpitch; Uint8 *src, *dst; int row; size_t length; @@ -525,10 +525,10 @@ src += pitch; dst += dpitch; } - SDL_DFB_CHECKERR(data->surface->Unlock(data->surface) ); + SDL_DFB_CHECKERR(data->surface->Unlock(data->surface)); return 0; -error: - return 1; + error: + return 1; }
--- a/src/video/x11/SDL_x11opengl.c Wed Aug 15 03:34:14 2007 +0000 +++ b/src/video/x11/SDL_x11opengl.c Wed Aug 15 03:50:49 2007 +0000 @@ -89,10 +89,9 @@ if (!handle) { return -1; } - // LoadLibrary may be called before WindowCreate! X11_GL_Initialize(_this); - + /* Load new function pointers */ _this->gl_data->glXGetProcAddress = (void *(*)(const GLubyte *)) GL_LoadFunction(handle,