1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-18 13:20:57 +00:00

wgl_ctx: set GFX_CTX_FLAGS_SHADERS_SLANG for glcore

This commit is contained in:
LazyBumHorse 2019-06-01 21:21:45 +02:00
parent 9ab49b7b2c
commit a6f042b320

@ -816,7 +816,12 @@ static uint32_t gfx_ctx_wgl_get_flags(void *data)
}
if (string_is_equal(video_driver_get_ident(), "gl1")) { }
else if (string_is_equal(video_driver_get_ident(), "glcore")) { }
else if (string_is_equal(video_driver_get_ident(), "glcore"))
{
#ifdef HAVE_SLANG
BIT32_SET(flags, GFX_CTX_FLAGS_SHADERS_SLANG);
#endif
}
else
{
#ifdef HAVE_CG