mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Add improved preprocessor conditionals for x context
This commit is contained in:
parent
11c1535fe3
commit
9bc889b908
@ -46,9 +46,11 @@ static const gfx_ctx_driver_t *gfx_ctx_drivers[] = {
|
||||
#if defined(_WIN32) && defined(HAVE_OPENGL)
|
||||
&gfx_ctx_wgl,
|
||||
#endif
|
||||
#if defined(HAVE_X11) && defined(HAVE_OPENGL) && !defined(HAVE_OPENGLES)
|
||||
#if defined(HAVE_X11) && !defined(HAVE_OPENGLES)
|
||||
#if defined(HAVE_OPENGL) || defined(HAVE_VULKAN)
|
||||
&gfx_ctx_x,
|
||||
#endif
|
||||
#endif
|
||||
#if defined(HAVE_WAYLAND)
|
||||
&gfx_ctx_wayland,
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user