summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvnflinger/ui
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-02 01:24:46 +0200
committerGitHub <noreply@github.com>2023-10-02 01:24:46 +0200
commit99e2568304cc008213b30677eade0522b49f8a92 (patch)
tree222e308f4b1a3edb95db47df9ab11a3ee051e453 /src/core/hle/service/nvnflinger/ui
parentMerge pull request #11646 from FernandoS27/stop-ignoring-your-mental-health (diff)
parentservice: nfc: Implement SetRegisterInfoPrivate mii support (diff)
downloadyuzu-99e2568304cc008213b30677eade0522b49f8a92.tar
yuzu-99e2568304cc008213b30677eade0522b49f8a92.tar.gz
yuzu-99e2568304cc008213b30677eade0522b49f8a92.tar.bz2
yuzu-99e2568304cc008213b30677eade0522b49f8a92.tar.lz
yuzu-99e2568304cc008213b30677eade0522b49f8a92.tar.xz
yuzu-99e2568304cc008213b30677eade0522b49f8a92.tar.zst
yuzu-99e2568304cc008213b30677eade0522b49f8a92.zip
Diffstat (limited to 'src/core/hle/service/nvnflinger/ui')
-rw-r--r--src/core/hle/service/nvnflinger/ui/fence.h3
-rw-r--r--src/core/hle/service/nvnflinger/ui/graphic_buffer.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/service/nvnflinger/ui/fence.h b/src/core/hle/service/nvnflinger/ui/fence.h
index 536e8156d..177aed758 100644
--- a/src/core/hle/service/nvnflinger/ui/fence.h
+++ b/src/core/hle/service/nvnflinger/ui/fence.h
@@ -20,6 +20,9 @@ public:
static constexpr Fence NoFence() {
Fence fence;
fence.fences[0].id = -1;
+ fence.fences[1].id = -1;
+ fence.fences[2].id = -1;
+ fence.fences[3].id = -1;
return fence;
}
diff --git a/src/core/hle/service/nvnflinger/ui/graphic_buffer.h b/src/core/hle/service/nvnflinger/ui/graphic_buffer.h
index 75d1705a8..3eac5cedd 100644
--- a/src/core/hle/service/nvnflinger/ui/graphic_buffer.h
+++ b/src/core/hle/service/nvnflinger/ui/graphic_buffer.h
@@ -12,8 +12,7 @@
namespace Service::android {
-class GraphicBuffer final {
-public:
+struct GraphicBuffer final {
constexpr GraphicBuffer() = default;
constexpr GraphicBuffer(u32 width_, u32 height_, PixelFormat format_, u32 usage_)
@@ -77,7 +76,6 @@ public:
return false;
}
-private:
u32 magic{};
s32 width{};
s32 height{};