summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-01 17:49:40 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitc575af26573ad150601b80cf37152501cc406175 (patch)
treedccc06ad36ac83c6c8048b6d647fa851af867bb4 /src
parent7ea90aa37831357d24362e84495ed7492ef31a68 (diff)
app: debug_layers returns a representation of layers.json configuration
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src')
-rw-r--r--src/app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.cpp b/src/app.cpp
index aa3f644..729c0a0 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -331,7 +331,7 @@ binding_api::result_type binding_api::register_surface(uint32_t appid,
binding_api::result_type binding_api::debug_layers() {
logdebug("%s", __func__);
- return Ok(to_json(this->app->controller->lprops));
+ return Ok(json_tokener_parse(this->app->layers.to_json().dump().c_str()));
}
binding_api::result_type binding_api::debug_surfaces() {