fix comparison

This commit is contained in:
Brad Parker 2019-07-23 23:05:09 -04:00
parent 61ab9249fc
commit 2db48d39f4

View File

@ -1216,7 +1216,7 @@ bool core_info_hw_api_supported(core_info_t *info)
(string_is_equal_noncase(api_str, "openglcompat") && sys_api == GFX_CTX_OPENGL_API) ||
(string_is_equal_noncase(api_str, "openglcompatibility") && sys_api == GFX_CTX_OPENGL_API))
{
if (!(sys_flags.flags & (1 << GFX_CTX_FLAGS_GL_CORE_CONTEXT)))
if (sys_flags.flags & (1 << GFX_CTX_FLAGS_GL_CORE_CONTEXT))
{
/* system is running a core context while compat is requested */
return false;