summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvnflinger/ui
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-09-29 07:45:49 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-10-01 19:38:30 +0200
commit35f25882e027fd3c466edd44db1fc1c5bec75bde (patch)
tree8f7be0d40cc8ebb2bbbb8fec4113293bc72f5071 /src/core/hle/service/nvnflinger/ui
parentservice: ldn: Implement lp2p:m and stub IMonitorService (diff)
downloadyuzu-35f25882e027fd3c466edd44db1fc1c5bec75bde.tar
yuzu-35f25882e027fd3c466edd44db1fc1c5bec75bde.tar.gz
yuzu-35f25882e027fd3c466edd44db1fc1c5bec75bde.tar.bz2
yuzu-35f25882e027fd3c466edd44db1fc1c5bec75bde.tar.lz
yuzu-35f25882e027fd3c466edd44db1fc1c5bec75bde.tar.xz
yuzu-35f25882e027fd3c466edd44db1fc1c5bec75bde.tar.zst
yuzu-35f25882e027fd3c466edd44db1fc1c5bec75bde.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{};