Add feature to print_features

This commit is contained in:
twinaphex 2016-02-17 01:55:35 +01:00
parent 0058e1ba51
commit d78787d70e
2 changed files with 7 additions and 0 deletions

View File

@ -74,6 +74,12 @@ static const bool _opengl_supp = true;
static const bool _opengl_supp = false;
#endif
#ifdef HAVE_VULKAN
static const bool _vulkan_supp = true;
#else
static const bool _vulkan_supp = false;
#endif
#if defined(HAVE_OPENGLES) || defined(HAVE_OPENGLES2) || defined(HAVE_OPENGLES3)
static const bool _opengles_supp = true;
#else

View File

@ -123,6 +123,7 @@ static void print_features(void)
_PSUPP(x11, "X11", "X11 input/video drivers");
_PSUPP(wayland, "wayland", "Wayland input/video drivers");
_PSUPP(thread, "Threads", "Threading support");
_PSUPP(vulkan, "Vulkan", "Vulkan driver");
_PSUPP(opengl, "OpenGL", "OpenGL driver");
_PSUPP(opengles, "OpenGL ES", "OpenGL ES driver");
_PSUPP(xvideo, "XVideo", "Video driver");