Merge pull request #3015 from simias/fix

potential fix for AMD and GL core contexts
This commit is contained in:
Twinaphex 2016-05-20 20:17:09 +02:00
commit 2cd64c276f

View File

@ -894,7 +894,7 @@ static uint32_t gfx_ctx_x_get_flags(void *data)
{
uint32_t flags = 0;
gfx_ctx_x_data_t *x = (gfx_ctx_x_data_t*)data;
if (x->core_hw_context_enable)
if (x->core_hw_context_enable || x->g_core_es)
{
BIT32_SET(flags, GFX_CTX_FLAGS_GL_CORE_CONTEXT);
}