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