projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: use LIB_EXT rather than hardcoded .so
[mesa.git]
/
src
/
glx
/
apple
/
apple_glx_context.c
diff --git
a/src/glx/apple/apple_glx_context.c
b/src/glx/apple/apple_glx_context.c
index c58d05a59afaf342e511e27b631376994d1c4971..8a6ded28aa2fa405c9f31ed7ddc52d84ad847226 100644
(file)
--- a/
src/glx/apple/apple_glx_context.c
+++ b/
src/glx/apple/apple_glx_context.c
@@
-142,6
+142,7
@@
apple_glx_create_context(void **ptr, Display * dpy, int screen,
if (sharedac && !is_context_valid(sharedac)) {
*errorptr = GLXBadContext;
*x11errorptr = false;
if (sharedac && !is_context_valid(sharedac)) {
*errorptr = GLXBadContext;
*x11errorptr = false;
+ free(ac);
return true;
}
return true;
}
@@
-421,7
+422,7
@@
apple_glx_make_current_context(Display * dpy, void *oldptr, void *ptr,
*/
if (same_drawable && ac->is_current) {
*/
if (same_drawable && ac->is_current) {
- apple_glx_diagnostic("
%s:
same_drawable and ac->is_current\n");
+ apple_glx_diagnostic("same_drawable and ac->is_current\n");
return false;
}
return false;
}