src/video/directfb/SDL_DirectFB_video.c
changeset 1018 012af0b7e8e6
parent 893 8762a202f121
child 1029 f87f87efd45a
     1.1 --- a/src/video/directfb/SDL_DirectFB_video.c	Sun Dec 19 22:04:44 2004 +0000
     1.2 +++ b/src/video/directfb/SDL_DirectFB_video.c	Mon Dec 27 20:03:53 2004 +0000
     1.3 @@ -468,6 +468,9 @@
     1.4    
     1.5    if (HIDDEN->enable_mga_crtc2)
     1.6      {
     1.7 +      DFBDisplayLayerConfig      dlc;
     1.8 +      DFBDisplayLayerConfigFlags failed;
     1.9 +
    1.10        ret = dfb->GetDisplayLayer (dfb, 2, &HIDDEN->c2layer);
    1.11        if (ret)
    1.12          {
    1.13 @@ -492,9 +495,6 @@
    1.14        HIDDEN->c2layer->SetOpacity(HIDDEN->c2layer, 0x0);
    1.15  
    1.16        /* Init the surface here as it got a fixed size */
    1.17 -      DFBDisplayLayerConfig      dlc;
    1.18 -      DFBDisplayLayerConfigFlags failed;
    1.19 -    
    1.20        dlc.flags      = DLCONF_PIXELFORMAT | DLCONF_BUFFERMODE | DLCONF_OPTIONS;
    1.21        dlc.buffermode = DLBM_BACKVIDEO;
    1.22        dlc.options    = DLOP_FLICKER_FILTERING;