summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvnflinger/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/nvnflinger/display.h')
-rw-r--r--src/core/hle/service/nvnflinger/display.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/nvnflinger/display.h b/src/core/hle/service/nvnflinger/display.h
index 8a1956fe0..f27cbf144 100644
--- a/src/core/hle/service/nvnflinger/display.h
+++ b/src/core/hle/service/nvnflinger/display.h
@@ -44,6 +44,10 @@ struct Display {
return nullptr;
}
+ bool HasLayers() {
+ return !stack.layers.empty();
+ }
+
u64 id;
LayerStack stack;
};