summaryrefslogtreecommitdiff
path: root/ivi-layermanagement-examples
diff options
context:
space:
mode:
Diffstat (limited to 'ivi-layermanagement-examples')
-rw-r--r--ivi-layermanagement-examples/LayerManagerControl/src/control.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ivi-layermanagement-examples/LayerManagerControl/src/control.cpp b/ivi-layermanagement-examples/LayerManagerControl/src/control.cpp
index b7efbc1..f8fd7d4 100644
--- a/ivi-layermanagement-examples/LayerManagerControl/src/control.cpp
+++ b/ivi-layermanagement-examples/LayerManagerControl/src/control.cpp
@@ -53,7 +53,7 @@ void getCommunicatorPerformance()
{
int runs = 0;
int runtimeInSec = 5;
- unsigned int hwLayerCnt = 0;
+ ilmScreenProperties screenProperties;
cout << "running performance test for " << runtimeInSec << " seconds... ";
flush(cout);
@@ -67,11 +67,11 @@ void getCommunicatorPerformance()
{
t_ilm_uint screenid = 0;
- ilmErrorTypes callResult = ilm_getNumberOfHardwareLayers(screenid, &hwLayerCnt);
+ ilmErrorTypes callResult = ilm_getPropertiesOfScreen(screenid, &screenProperties);
if (ILM_SUCCESS != callResult)
{
cout << "LayerManagerService returned: " << ILM_ERROR_STRING(callResult) << "\n";
- cout << "Failed to get number of hardware layers for screen with ID " << screenid << "\n";
+ cout << "Failed to get properties for screen with ID " << screenid << "\n";
return;
}