potential fix for AMD and GL core contexts

This commit is contained in:
Lionel Flandrin 2016-05-20 20:12:41 +02:00
parent 94a9e7b923
commit b7d5c1d3e8
1 changed files with 1 additions and 1 deletions

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);
}