diff --git a/src/dispatch_common.c b/src/dispatch_common.c index 3215cf0..d8e931a 100644 --- a/src/dispatch_common.c +++ b/src/dispatch_common.c @@ -108,7 +108,7 @@ epoxy_is_desktop_gl(void) const char *version = (const char *)glGetString(GL_VERSION); printf("VERSION %s\n", version); - return !strncmp(es_prefix, version, strlen(es_prefix)); + return strncmp(es_prefix, version, strlen(es_prefix)); } PUBLIC int