Merge pull request #8894 from LazyBumHorse/master

(wgl_ctx) set GFX_CTX_FLAGS_SHADERS_SLANG for glcore
This commit is contained in:
Twinaphex 2019-06-01 21:35:38 +02:00 committed by GitHub
commit 5183160142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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