From 2db48d39f42f901f13cfe418e691089c480e4fc1 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Tue, 23 Jul 2019 23:05:09 -0400 Subject: [PATCH] fix comparison --- core_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_info.c b/core_info.c index 3579014071..76a565d827 100644 --- a/core_info.c +++ b/core_info.c @@ -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;