summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_compile.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-02-18 23:50:56 -0800
committerKristian Høgsberg <[email protected]>2010-02-19 07:53:04 -0500
commit8d73aa6d1ae6e89bb2cd8f52f5586d569a4b6eeb (patch)
tree472c6ed63b70b45c1f407b99426cc47619cc18a5 /src/mesa/shader/slang/slang_compile.c
parent21d0c70b4b1c18dc1c3ac7d0fbd8a903d60f8be7 (diff)
Remove _mesa_strcmp in favor of plain strcmp.
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.c')
-rw-r--r--src/mesa/shader/slang/slang_compile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c
index 65842ac0c8f..1a2c39104b8 100644
--- a/src/mesa/shader/slang/slang_compile.c
+++ b/src/mesa/shader/slang/slang_compile.c
@@ -2563,8 +2563,7 @@ parse_code_unit(slang_parse_ctx * C, slang_code_unit * unit,
{
slang_function *func;
success = parse_function(C, &o, 1, &func);
- if (success &&
- _mesa_strcmp((char *) func->header.a_name, "main") == 0) {
+ if (success && strcmp((char *) func->header.a_name, "main") == 0) {
/* found main() */
mainFunc = func;
}