mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-11 17:00:37 +00:00
Kernel: Fix typo in the FramebufferGetPitchMboxMessage name
This commit is contained in:
parent
c839c51b0b
commit
b87747fa64
Notes:
sideshowbarker
2024-07-16 21:49:44 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/b87747fa64 Pull-request: https://github.com/SerenityOS/serenity/pull/18214
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue