gdi32: Add a missing const.

This commit is contained in:
Huw Davies 2011-05-11 15:16:45 +01:00 committed by Alexandre Julliard
parent 93349f02ad
commit 90b2672e6b
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;
}