[waffle] [PATCH 10/10] glx: glx_context_create_native returns GLXContext not bool
Emil Velikov
emil.l.velikov at gmail.com
Fri May 30 19:22:08 PDT 2014
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/waffle/glx/glx_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
1.9.3
More information about the waffle
mailing list