RISC OS: Constify redraw region through buffer API.
This commit is contained in:
parent
93b68a9a48
commit
6f659da675
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue