Mercurial > sdl-ios-xcode
diff src/video/directfb/SDL_DirectFB_opengl.c @ 3011:8f4ed5ec2b06
I ran a global "make indent" it modified the following files.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Fri, 09 Jan 2009 20:43:30 +0000 |
parents | d364ee9b9c15 |
children | 8cc00819c8d6 |
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_opengl.c Fri Jan 09 20:41:31 2009 +0000 +++ b/src/video/directfb/SDL_DirectFB_opengl.c Fri Jan 09 20:43:30 2009 +0000 @@ -173,8 +173,8 @@ SDL_DFB_CALLOC(context, 1, sizeof(*context)); - SDL_DFB_CHECKERR(windata->surface-> - GetGL(windata->surface, &context->context)); + SDL_DFB_CHECKERR(windata-> + surface->GetGL(windata->surface, &context->context)); if (!context->context) return NULL; @@ -212,12 +212,12 @@ windata->gl_context = NULL; /* Everything is unlocked, check for a resize */ - SDL_DFB_CHECKERR(windata->surface-> - GetSize(windata->surface, &cw, &ch)); + SDL_DFB_CHECKERR(windata-> + surface->GetSize(windata->surface, &cw, &ch)); if (cw != window->w || ch != window->h) - SDL_DFB_CHECKERR(windata->window-> - ResizeSurface(windata->window, window->w, - window->h)); + SDL_DFB_CHECKERR(windata-> + window->ResizeSurface(windata->window, window->w, + window->h)); } if (ctx != NULL) { @@ -266,8 +266,9 @@ if (1 || windata->gl_context) { /* SDL_DFB_CHECKERR(windata->gl_context->context->Unlock(windata->gl_context->context)); */ - SDL_DFB_CHECKERR(windata->surface-> - Flip(windata->surface, ®ion, DSFLIP_ONSYNC)); + SDL_DFB_CHECKERR(windata-> + surface->Flip(windata->surface, ®ion, + DSFLIP_ONSYNC)); /* SDL_DFB_CHECKERR(windata->gl_context->context->Lock(windata->gl_context->context)); */ }