Fix build with FAKE_HARDWARE_CURSOR_SUPPORT turned on
by adding the const specifier to the uint8* parameters of the prototypes of the vesa_set_cursor_shape and vesa_set_cursor_bitmap functions. Thanks looncraz for pointing this out.
This commit is contained in:
@@ -46,9 +46,10 @@ status_t vesa_set_dpms_mode(uint32 dpmsFlags);
|
|||||||
|
|
||||||
// cursor
|
// cursor
|
||||||
status_t vesa_set_cursor_shape(uint16 width, uint16 height, uint16 hotX,
|
status_t vesa_set_cursor_shape(uint16 width, uint16 height, uint16 hotX,
|
||||||
uint16 hotY, uint8 *andMask, uint8 *xorMask);
|
uint16 hotY, const uint8 *andMask, const uint8 *xorMask);
|
||||||
status_t vesa_set_cursor_bitmap(uint16 width, uint16 height, uint16 hotX,
|
status_t vesa_set_cursor_bitmap(uint16 width, uint16 height, uint16 hotX,
|
||||||
uint16 hotY, uint32 colorSpace, uint16 bytesPerRow, uint8* bitmapData);
|
uint16 hotY, color_space colorSpace, uint16 bytesPerRow,
|
||||||
|
const uint8* bitmapData);
|
||||||
void vesa_move_cursor(uint16 x, uint16 y);
|
void vesa_move_cursor(uint16 x, uint16 y);
|
||||||
void vesa_show_cursor(bool is_visible);
|
void vesa_show_cursor(bool is_visible);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user