Kernel: Fix typo in the FramebufferGetPitchMboxMessage name

This commit is contained in:
Liav A 2023-04-07 08:38:43 +03:00 committed by Andreas Kling
parent c839c51b0b
commit b87747fa64
Notes: sideshowbarker 2024-07-16 21:49:44 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@ Framebuffer::Framebuffer()
FramebufferSetDepthMboxMessage set_depth;
FramebufferSetPixelOrderMboxMessage set_pixel_order;
FramebufferAllocateBufferMboxMessage allocate_buffer;
FramebufferGetPithMboxMessage get_pitch;
FramebufferGetPitchMboxMessage get_pitch;
Mailbox::MessageTail tail;
} message_queue;

View file

@ -98,16 +98,16 @@ public:
};
static_assert(sizeof(FramebufferAllocateBufferMboxMessage) == 20);
class FramebufferGetPithMboxMessage : public Mailbox::Message {
class FramebufferGetPitchMboxMessage : public Mailbox::Message {
public:
u32 pitch;
FramebufferGetPithMboxMessage()
FramebufferGetPitchMboxMessage()
: Mailbox::Message(0x40008, 4)
{
pitch = 0;
}
};
static_assert(sizeof(FramebufferGetPithMboxMessage) == 16);
static_assert(sizeof(FramebufferGetPitchMboxMessage) == 16);
}