Commit 90b2672e authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

gdi32: Add a missing const.

parent 93349f02
......@@ -37,7 +37,7 @@ static inline DC *get_dibdrv_dc( PHYSDEV dev )
typedef struct primitive_funcs
{
void (* solid_rects)(const dib_info *dib, int num, RECT *rc, DWORD and, DWORD xor);
void (* solid_rects)(const dib_info *dib, int num, const RECT *rc, DWORD and, DWORD xor);
DWORD (* colorref_to_pixel)(const dib_info *dib, COLORREF color);
} primitive_funcs;
......
......@@ -31,7 +31,7 @@ static inline void do_rop_32(DWORD *ptr, DWORD and, DWORD xor)
*ptr = (*ptr & and) ^ xor;
}
static void solid_rects_32(const dib_info *dib, int num, RECT *rc, DWORD and, DWORD xor)
static void solid_rects_32(const dib_info *dib, int num, const RECT *rc, DWORD and, DWORD xor)
{
DWORD *ptr, *start;
int x, y, i;
......@@ -45,7 +45,7 @@ static void solid_rects_32(const dib_info *dib, int num, RECT *rc, DWORD and, DW
}
}
static void solid_rects_null(const dib_info *dib, int num, RECT *rc, DWORD and, DWORD xor)
static void solid_rects_null(const dib_info *dib, int num, const RECT *rc, DWORD and, DWORD xor)
{
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment