projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ffc8c
)
Fix typo in wgl function call detection.
author
José Fonseca
<jose.r.fonseca@gmail.com>
Thu, 29 Mar 2012 19:13:10 +0000
(20:13 +0100)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Thu, 29 Mar 2012 19:13:10 +0000
(20:13 +0100)
common/trace_parser.cpp
patch
|
blob
|
history
diff --git
a/common/trace_parser.cpp
b/common/trace_parser.cpp
index
12cedac
..
896bfd4
100644
(file)
--- 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