src/video/directfb/SDL_DirectFB_video.c
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1588 e20dcef5647c
child 1662 782fd950bd46
child 1895 c121d94672cb
child 3951 e1e525d96838
     1.1 --- a/src/video/directfb/SDL_DirectFB_video.c	Mon May 01 06:58:33 2006 +0000
     1.2 +++ b/src/video/directfb/SDL_DirectFB_video.c	Wed May 17 08:18:28 2006 +0000
     1.3 @@ -191,6 +191,9 @@
     1.4  
     1.5    HIDDEN->nummodes++;
     1.6  
     1.7 +  if (enumlist && enumlist->r.w == width && enumlist->r.h == height)
     1.8 +    return DFENUM_OK;
     1.9 +
    1.10    enumrect = SDL_calloc(1, sizeof(struct DirectFBEnumRect));
    1.11    if (!enumrect)
    1.12      {