mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-21 03:32:35 +03:00
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
|
* \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 size;
|
||||||
int total_size;
|
int total_size;
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "oslib/wimp.h"
|
#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);
|
void ro_gui_buffer_close(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user