Mercurial > sdl-ios-xcode
diff src/video/directfb/SDL_DirectFB_opengl.c @ 3013:8cc00819c8d6
Reverted Bob's indent checkin
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Jan 2009 21:50:26 +0000 |
parents | 8f4ed5ec2b06 |
children | d72a0dd80e8b |
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_opengl.c Sat Jan 10 18:32:24 2009 +0000 +++ b/src/video/directfb/SDL_DirectFB_opengl.c Sat Jan 10 21:50:26 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,9 +266,8 @@ 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)); */ }