summaryrefslogtreecommitdiff
path: root/retrace/daemon/glframe_retrace_skeleton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'retrace/daemon/glframe_retrace_skeleton.cpp')
-rw-r--r--retrace/daemon/glframe_retrace_skeleton.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/retrace/daemon/glframe_retrace_skeleton.cpp b/retrace/daemon/glframe_retrace_skeleton.cpp
index 02ea379b..66578857 100644
--- a/retrace/daemon/glframe_retrace_skeleton.cpp
+++ b/retrace/daemon/glframe_retrace_skeleton.cpp
@@ -350,13 +350,16 @@ FrameRetraceSkeleton::onShaderCompile(RenderId renderId,
void
FrameRetraceSkeleton::onMetricList(const std::vector<MetricId> &ids,
- const std::vector<std::string> &names) {
+ const std::vector<std::string> &names,
+ const std::vector<std::string> &desc) {
RetraceResponse proto_response;
auto metrics_response = proto_response.mutable_metricslist();
for (auto i : ids)
metrics_response->add_metric_ids(i());
for (auto i : names)
metrics_response->add_metric_names(i);
+ for (auto i : desc)
+ metrics_response->add_metric_descriptions(i);
writeResponse(m_socket, proto_response, &m_buf);
}