Merge pull request #3015 from simias/fix
potential fix for AMD and GL core contexts
This commit is contained in:
commit
2cd64c276f
|
@ -894,7 +894,7 @@ static uint32_t gfx_ctx_x_get_flags(void *data)
|
||||||
{
|
{
|
||||||
uint32_t flags = 0;
|
uint32_t flags = 0;
|
||||||
gfx_ctx_x_data_t *x = (gfx_ctx_x_data_t*)data;
|
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);
|
BIT32_SET(flags, GFX_CTX_FLAGS_GL_CORE_CONTEXT);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue