diff options
author | Mark Janes <mark.a.janes@intel.com> | 2017-08-23 12:54:44 -0700 |
---|---|---|
committer | Mark Janes <mark.a.janes@intel.com> | 2017-08-28 16:33:55 -0700 |
commit | 303bb2130ce9078a18e9e53a922cbdd8268629da (patch) | |
tree | 645c462ba89a6e146e8d4c66006ebeebe9401bc0 | |
parent | bba8f6475c1e5bda9555cb4bd99e4985f2bbdf62 (diff) |
Retrace: Add support for programs using glXMakeContextCurrent
Metrics retrace crashed on Google Earth traces because this call was
not tracked.
-rw-r--r-- | retrace/daemon/glframe_retrace_render.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/retrace/daemon/glframe_retrace_render.cpp b/retrace/daemon/glframe_retrace_render.cpp index 13bbdc19..29915e91 100644 --- a/retrace/daemon/glframe_retrace_render.cpp +++ b/retrace/daemon/glframe_retrace_render.cpp @@ -72,6 +72,9 @@ bool RetraceRender::changesContext(const trace::Call &call) { if (strncmp(call.name(), "glXMakeCurrent", strlen("glXMakeCurrent")) == 0) return true; + if (strncmp(call.name(), "glXMakeContextCurrent", + strlen("glXMakeContextCurrent")) == 0) + return true; return false; } |