aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-05-31 03:22:08 +0100
committerChad Versace <chad.versace@linux.intel.com>2014-06-05 21:19:39 -0700
commitd78bd29c619dde42cf60a20f685e7b104af81d6e (patch)
tree03e1107094436678bc55dd36738068eba68b4c5d
parent28428abea0b1d88fa2274d456aba3a413119a1b3 (diff)
downloadwaffle-d78bd29c619dde42cf60a20f685e7b104af81d6e.tar.gz
glx: glx_context_create_native returns GLXContext not bool
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r--src/waffle/glx/glx_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waffle/glx/glx_context.c b/src/waffle/glx/glx_context.c
index c7a7d91..62573dc 100644
--- a/src/waffle/glx/glx_context.c
+++ b/src/waffle/glx/glx_context.c
@@ -167,7 +167,7 @@ glx_context_create_native(struct glx_config *config,
ok = glx_context_fill_attrib_list(config, attrib_list);
if (!ok)
- return false;
+ return NULL;
ctx = wrapped_glXCreateContextAttribsARB(platform,
dpy->x11.xlib,