]> git.cworth.org Git - apitrace/blobdiff - cli/cli_trim.cpp
glimports: Check for iOS and skip OpenGL and CGL as appropriate.
[apitrace] / cli / cli_trim.cpp
index 6694737a479a7181216e3138cec88684ac661029..938329c94d566769cac982a026cc9561b935b60c 100644 (file)
@@ -203,7 +203,7 @@ trim_trace(const char *filename, struct trim_options *options)
     trace::ParseBookmark beginning;
     trace::Parser p;
     TraceAnalyzer analyzer(options->trim_flags);
-    trim::CallSet *required;
+    trace::FastCallSet *required;
     unsigned frame;
     int call_range_first, call_range_last;
 
@@ -273,7 +273,7 @@ trim_trace(const char *filename, struct trim_options *options)
 
     trace::Writer writer;
     if (!writer.open(options->output.c_str())) {
-        std::cerr << "error: failed to create " << filename << "\n";
+        std::cerr << "error: failed to create " << options->output << "\n";
         return 1;
     }