summaryrefslogtreecommitdiff
path: root/kms++/src/dmabufframebuffer.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-02-05 11:57:52 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-03-26 15:44:00 +0200
commit1936a703bf1a3b27db9bb4d503b861f6d1fa2e74 (patch)
tree32cd970cb30f072540b19bfedb4eccb6be590584 /kms++/src/dmabufframebuffer.cpp
parenta9e7ecab862183399c5947931f2bad69ecec393d (diff)
PixelFormats: clean fourcc management
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'kms++/src/dmabufframebuffer.cpp')
-rw-r--r--kms++/src/dmabufframebuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kms++/src/dmabufframebuffer.cpp b/kms++/src/dmabufframebuffer.cpp
index cb76f09..e5d06ed 100644
--- a/kms++/src/dmabufframebuffer.cpp
+++ b/kms++/src/dmabufframebuffer.cpp
@@ -17,7 +17,7 @@ namespace kms
{
DmabufFramebuffer::DmabufFramebuffer(Card& card, uint32_t width, uint32_t height, const string& format,
vector<int> fds, vector<uint32_t> pitches, vector<uint32_t> offsets, vector<uint64_t> modifiers)
- : DmabufFramebuffer(card, width, height, FourCCToPixelFormat(format), fds, pitches, offsets, modifiers)
+ : DmabufFramebuffer(card, width, height, fourcc_str_to_pixel_format(format), fds, pitches, offsets, modifiers)
{
}