OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
279c596
)
st/glx: use strdup() instead of _mesa_strdup()
author
Brian Paul
<brianp@vmware.com>
Sat, 7 Mar 2015 20:15:22 +0000
(13:15 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 11 Mar 2015 15:34:24 +0000
(09:34 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/gallium/state_trackers/glx/xlib/glx_api.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/glx/xlib/glx_api.c
b/src/gallium/state_trackers/glx/xlib/glx_api.c
index
d1bd760
..
f9572b7
100644
(file)
--- a/
src/gallium/state_trackers/glx/xlib/glx_api.c
+++ b/
src/gallium/state_trackers/glx/xlib/glx_api.c
@@
-34,6
+34,7
@@
#include "GL/glx.h"
#include <stdio.h>
+#include <string.h>
#include <X11/Xmd.h>
#include <GL/glxproto.h>
@@
-644,7
+645,7
@@
register_with_display(Display *dpy)
ext = dpy->ext_procs; /* new extension is at head of list */
assert(c->extension == ext->codes.extension);
(void) c;
- ext->name =
_mesa_
strdup(extName);
+ ext->name = strdup(extName);
ext->close_display = close_display_callback;
}
}