diff options
Diffstat (limited to 'kms++/src/framebuffer.cpp')
| -rw-r--r-- | kms++/src/framebuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kms++/src/framebuffer.cpp b/kms++/src/framebuffer.cpp index 3a76b73..773cf4b 100644 --- a/kms++/src/framebuffer.cpp +++ b/kms++/src/framebuffer.cpp @@ -25,7 +25,7 @@ Framebuffer::Framebuffer(Card& card, uint32_t id) if (fb) { m_width = fb->width; m_height = fb->height; - m_format = (PixelFormat)fb->pixel_format; + m_format = fourcc_to_pixel_format(fb->pixel_format); drmModeFreeFB2(fb); } else { |
