mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:37:44 +00:00
Kernel: Fix typo in the FramebufferGetPitchMboxMessage name
This commit is contained in:
parent
c839c51b0b
commit
b87747fa64
2 changed files with 4 additions and 4 deletions
|
@ -37,7 +37,7 @@ Framebuffer::Framebuffer()
|
||||||
FramebufferSetDepthMboxMessage set_depth;
|
FramebufferSetDepthMboxMessage set_depth;
|
||||||
FramebufferSetPixelOrderMboxMessage set_pixel_order;
|
FramebufferSetPixelOrderMboxMessage set_pixel_order;
|
||||||
FramebufferAllocateBufferMboxMessage allocate_buffer;
|
FramebufferAllocateBufferMboxMessage allocate_buffer;
|
||||||
FramebufferGetPithMboxMessage get_pitch;
|
FramebufferGetPitchMboxMessage get_pitch;
|
||||||
Mailbox::MessageTail tail;
|
Mailbox::MessageTail tail;
|
||||||
} message_queue;
|
} message_queue;
|
||||||
|
|
||||||
|
|
|
@ -98,16 +98,16 @@ public:
|
||||||
};
|
};
|
||||||
static_assert(sizeof(FramebufferAllocateBufferMboxMessage) == 20);
|
static_assert(sizeof(FramebufferAllocateBufferMboxMessage) == 20);
|
||||||
|
|
||||||
class FramebufferGetPithMboxMessage : public Mailbox::Message {
|
class FramebufferGetPitchMboxMessage : public Mailbox::Message {
|
||||||
public:
|
public:
|
||||||
u32 pitch;
|
u32 pitch;
|
||||||
|
|
||||||
FramebufferGetPithMboxMessage()
|
FramebufferGetPitchMboxMessage()
|
||||||
: Mailbox::Message(0x40008, 4)
|
: Mailbox::Message(0x40008, 4)
|
||||||
{
|
{
|
||||||
pitch = 0;
|
pitch = 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
static_assert(sizeof(FramebufferGetPithMboxMessage) == 16);
|
static_assert(sizeof(FramebufferGetPitchMboxMessage) == 16);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue