diff options
author | Kenneth Graunke <[email protected]> | 2010-02-18 23:50:56 -0800 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-02-19 07:53:04 -0500 |
commit | 8d73aa6d1ae6e89bb2cd8f52f5586d569a4b6eeb (patch) | |
tree | 472c6ed63b70b45c1f407b99426cc47619cc18a5 /src/gallium | |
parent | 21d0c70b4b1c18dc1c3ac7d0fbd8a903d60f8be7 (diff) |
Remove _mesa_strcmp in favor of plain strcmp.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/glx_api.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index 7e86e68b682..971b6e71cb8 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_api.c +++ b/src/gallium/state_trackers/glx/xlib/glx_api.c @@ -447,12 +447,12 @@ get_env_visual(Display *dpy, int scr, const char *varname) sscanf( value, "%s %d", type, &depth ); - if (_mesa_strcmp(type,"TrueColor")==0) xclass = TrueColor; - else if (_mesa_strcmp(type,"DirectColor")==0) xclass = DirectColor; - else if (_mesa_strcmp(type,"PseudoColor")==0) xclass = PseudoColor; - else if (_mesa_strcmp(type,"StaticColor")==0) xclass = StaticColor; - else if (_mesa_strcmp(type,"GrayScale")==0) xclass = GrayScale; - else if (_mesa_strcmp(type,"StaticGray")==0) xclass = StaticGray; + if (strcmp(type,"TrueColor")==0) xclass = TrueColor; + else if (strcmp(type,"DirectColor")==0) xclass = DirectColor; + else if (strcmp(type,"PseudoColor")==0) xclass = PseudoColor; + else if (strcmp(type,"StaticColor")==0) xclass = StaticColor; + else if (strcmp(type,"GrayScale")==0) xclass = GrayScale; + else if (strcmp(type,"StaticGray")==0) xclass = StaticGray; if (xclass>-1 && depth>0) { vis = get_visual( dpy, scr, depth, xclass ); |