From 570322c2f6e2b79df307872297b5a9b643eedd48 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 29 Mar 2012 20:13:10 +0100 Subject: [PATCH] Fix typo in wgl function call detection. --- common/trace_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/trace_parser.cpp b/common/trace_parser.cpp index 12cedac..896bfd4 100644 --- a/common/trace_parser.cpp +++ b/common/trace_parser.cpp @@ -243,7 +243,7 @@ Parser::parse_function_sig(void) { if (api == API_UNKNOWN) { const char *n = sig->name; if ((n[0] == 'g' && n[1] == 'l' && n[2] == 'X') || // glX - (n[0] == 'w' && n[1] == 'g' && n[2] == 'g' && n[3] >= 'A' && n[3] <= 'Z') || // wgl[A-Z] + (n[0] == 'w' && n[1] == 'g' && n[2] == 'l' && n[3] >= 'A' && n[3] <= 'Z') || // wgl[A-Z] (n[0] == 'C' && n[1] == 'G' && n[2] == 'L')) { // CGL api = trace::API_GL; } else if (n[0] == 'e' && n[1] == 'g' && n[2] == 'l' && n[3] >= 'A' && n[3] <= 'Z') { // egl -- 2.43.0