summaryrefslogtreecommitdiff
path: root/glretrace_main.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-05-15 13:52:28 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-05-15 13:52:28 +0100
commit31c9f62616e2c59973ca00fd074e8c288f6488b3 (patch)
tree93f47372c5fd368f5799e47bd359449faa015c50 /glretrace_main.cpp
parentb0e532fc849d07aeba4dadf00e4a64df0cebc40f (diff)
Rudimentary CGL retracing.
Diffstat (limited to 'glretrace_main.cpp')
-rw-r--r--glretrace_main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/glretrace_main.cpp b/glretrace_main.cpp
index a9ef1579..b9a11b1d 100644
--- a/glretrace_main.cpp
+++ b/glretrace_main.cpp
@@ -187,7 +187,10 @@ static void display(void) {
std::cout.flush();
}
- if (name[0] == 'w' && name[1] == 'g' && name[2] == 'l') {
+ if (name[0] == 'C' && name[1] == 'G' && name[2] == 'L') {
+ glretrace::retrace_call_cgl(*call);
+ }
+ else if (name[0] == 'w' && name[1] == 'g' && name[2] == 'l') {
glretrace::retrace_call_wgl(*call);
}
else if (name[0] == 'g' && name[1] == 'l' && name[2] == 'X') {