RISC OS: Constify redraw region through buffer API.

This commit is contained in:
Michael Drake 2021-04-26 19:58:26 +01:00
parent 93b68a9a48
commit 6f659da675
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ static os_mode mode;
*
* \param redraw the current WIMP redraw area to buffer
*/
void ro_gui_buffer_open(wimp_draw *redraw)
void ro_gui_buffer_open(const wimp_draw *redraw)
{
int size;
int total_size;

View File

@ -25,7 +25,7 @@
#include "oslib/wimp.h"
void ro_gui_buffer_open(wimp_draw *redraw);
void ro_gui_buffer_open(const wimp_draw *redraw);
void ro_gui_buffer_close(void);
#endif