Skip to content

Commit

Permalink
DSCAPS_GL was added for DirectFB 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 10, 2014
1 parent 0e65e62 commit bf8ac8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/directfb/SDL_DirectFB_window.c
Expand Up @@ -90,7 +90,7 @@ DirectFB_CreateWindow(_THIS, SDL_Window * window)
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;
}
Expand Down

0 comments on commit bf8ac8e

Please sign in to comment.