]> git.cworth.org Git - apitrace/blobdiff - retrace/retrace.cpp
specs: Recognize GL_PROGRAM_BINARY_LENGTH
[apitrace] / retrace / retrace.cpp
index ee876ca3eae2c5ebe092c374df1340b1c4a42020..bbd10b45c2cd58cb12a5cbe2892675b1c0f25ee8 100644 (file)
 #include <iostream>
 
 #include "os_time.hpp"
-#include "trace_dump.hpp"
 #include "retrace.hpp"
 
 
 namespace retrace {
 
 
+trace::DumpFlags dumpFlags = 0;
+
+
 static bool call_dumped = false;
 
 
 static void dumpCall(trace::Call &call) {
     if (verbosity >= 0 && !call_dumped) {
         std::cout << std::hex << call.thread_id << std::dec << " ";
-        std::cout << call;
+        trace::dump(call, std::cout, dumpFlags);
         std::cout.flush();
         call_dumped = true;
     }