1.1 --- a/src/video/directfb/SDL_DirectFB_opengl.c Sat Jan 10 18:32:24 2009 +0000
1.2 +++ b/src/video/directfb/SDL_DirectFB_opengl.c Sat Jan 10 21:50:26 2009 +0000
1.3 @@ -173,8 +173,8 @@
1.4
1.5 SDL_DFB_CALLOC(context, 1, sizeof(*context));
1.6
1.7 - SDL_DFB_CHECKERR(windata->
1.8 - surface->GetGL(windata->surface, &context->context));
1.9 + SDL_DFB_CHECKERR(windata->surface->
1.10 + GetGL(windata->surface, &context->context));
1.11
1.12 if (!context->context)
1.13 return NULL;
1.14 @@ -212,12 +212,12 @@
1.15
1.16 windata->gl_context = NULL;
1.17 /* Everything is unlocked, check for a resize */
1.18 - SDL_DFB_CHECKERR(windata->
1.19 - surface->GetSize(windata->surface, &cw, &ch));
1.20 + SDL_DFB_CHECKERR(windata->surface->
1.21 + GetSize(windata->surface, &cw, &ch));
1.22 if (cw != window->w || ch != window->h)
1.23 - SDL_DFB_CHECKERR(windata->
1.24 - window->ResizeSurface(windata->window, window->w,
1.25 - window->h));
1.26 + SDL_DFB_CHECKERR(windata->window->
1.27 + ResizeSurface(windata->window, window->w,
1.28 + window->h));
1.29 }
1.30
1.31 if (ctx != NULL) {
1.32 @@ -266,9 +266,8 @@
1.33
1.34 if (1 || windata->gl_context) {
1.35 /* SDL_DFB_CHECKERR(windata->gl_context->context->Unlock(windata->gl_context->context)); */
1.36 - SDL_DFB_CHECKERR(windata->
1.37 - surface->Flip(windata->surface, ®ion,
1.38 - DSFLIP_ONSYNC));
1.39 + SDL_DFB_CHECKERR(windata->surface->
1.40 + Flip(windata->surface, ®ion, DSFLIP_ONSYNC));
1.41 /* SDL_DFB_CHECKERR(windata->gl_context->context->Lock(windata->gl_context->context)); */
1.42
1.43 }