Blame SOURCES/0002-Fix-context-type-detection-if-we-find-eglGetCurrentC.patch

fe17fa
From 0096b79923f4a2b73b004f679d48ef110936a459 Mon Sep 17 00:00:00 2001
fe17fa
From: Eric Anholt <eric@anholt.net>
fe17fa
Date: Fri, 13 Jun 2014 15:00:31 -0700
fe17fa
Subject: [PATCH 2/3] Fix context type detection if we find
fe17fa
 eglGetCurrentContext().
fe17fa
fe17fa
Fixes #29.
fe17fa
---
fe17fa
 src/dispatch_common.c | 2 +-
fe17fa
 1 file changed, 1 insertion(+), 1 deletion(-)
fe17fa
fe17fa
diff --git a/src/dispatch_common.c b/src/dispatch_common.c
fe17fa
index b36b639..4e34d6e 100644
fe17fa
--- a/src/dispatch_common.c
fe17fa
+++ b/src/dispatch_common.c
fe17fa
@@ -378,7 +378,7 @@ epoxy_current_context_is_glx(void)
fe17fa
     sym = dlsym(NULL, "eglGetCurrentContext");
fe17fa
     if (sym) {
fe17fa
         if (epoxy_egl_get_current_gl_context_api() != EGL_NONE)
fe17fa
-            return true;
fe17fa
+            return false;
fe17fa
     } else {
fe17fa
         (void)dlerror();
fe17fa
     }
fe17fa
-- 
fe17fa
1.9.3
fe17fa