aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {