Adding safety checks, disabling vendor gl extensions by default.

This commit is contained in:
Ben Vanik
2015-03-06 21:54:59 -08:00
parent 84fa131f12
commit 14c6fbfba4
3 changed files with 12 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ void CommandProcessor::BeginTracing(const std::wstring& root_path) {
XELOGE("Frame trace pending; ignoring streaming request.");
return;
}
std::wstring path = poly::join_paths(root_path, L"stream");
std::wstring path = root_path + L"stream";
trace_state_ = TraceState::kStreaming;
trace_writer_.Open(path);
}

View File

@@ -19,7 +19,7 @@ DEFINE_bool(gl_debug_output, false, "Dump ARB_debug_output to stderr.");
DEFINE_bool(gl_debug_output_synchronous, true,
"ARB_debug_output will synchronize to be thread safe.");
DEFINE_bool(vendor_gl_extensions, true,
DEFINE_bool(vendor_gl_extensions, false,
"Enable vendor-specific (NV, AMD, etc) GL extensions.");
DEFINE_bool(disable_framebuffer_readback, false,