DSCAPS_GL was added for DirectFB 1.6
authorSam Lantinga <slouken@libsdl.org>
Wed, 10 Sep 2014 14:05:27 -0700
changeset 9129d183503df2e8
parent 9128 3476d867bf43
child 9133 52f185c2d019
child 9516 77867123589c
DSCAPS_GL was added for DirectFB 1.6
src/video/directfb/SDL_DirectFB_window.c
     1.1 --- a/src/video/directfb/SDL_DirectFB_window.c	Wed Sep 10 08:59:19 2014 -0700
     1.2 +++ b/src/video/directfb/SDL_DirectFB_window.c	Wed Sep 10 14:05:27 2014 -0700
     1.3 @@ -90,7 +90,7 @@
     1.4      desc.height = windata->size.h;
     1.5      desc.pixelformat = dispdata->pixelformat;
     1.6      desc.surface_caps = DSCAPS_PREMULTIPLIED;
     1.7 -#if DIRECTFB_MAJOR_VERSION == 1 && DIRECTFB_MINOR_VERSION >= 4
     1.8 +#if DIRECTFB_MAJOR_VERSION == 1 && DIRECTFB_MINOR_VERSION >= 6
     1.9      if (window->flags & SDL_WINDOW_OPENGL) {
    1.10          desc.surface_caps |= DSCAPS_GL;
    1.11      }