mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2025-02-12 03:31:37 +00:00
vid: constify source bitmap for D_BeginDirectRect
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
825410fd21
commit
f09d13d07a
@ -113,7 +113,7 @@ qboolean isPermedia = false;
|
||||
|
||||
/*-----------------------------------------------------------------------*/
|
||||
void
|
||||
D_BeginDirectRect(int x, int y, byte *pbitmap, int width, int height)
|
||||
D_BeginDirectRect(int x, int y, const byte *pbitmap, int width, int height)
|
||||
{
|
||||
// direct drawing of the "accessing disk" icon isn't supported under GLX
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ D_BeginDirectRect
|
||||
================
|
||||
*/
|
||||
void
|
||||
D_BeginDirectRect(int x, int y, byte *pbitmap, int width, int height)
|
||||
D_BeginDirectRect(int x, int y, const byte *pbitmap, int width, int height)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -1112,10 +1112,10 @@ VID_Update(vrect_t *rects)
|
||||
}
|
||||
|
||||
void
|
||||
D_BeginDirectRect(int x, int y, byte *pbitmap, int width, int height)
|
||||
D_BeginDirectRect(int x, int y, const byte *pbitmap, int width, int height)
|
||||
{
|
||||
int err, i;
|
||||
byte *src;
|
||||
const byte *src;
|
||||
unsigned *dst;
|
||||
int pitch;
|
||||
SDL_Rect subrect;
|
||||
|
@ -58,7 +58,7 @@ qboolean gl_mtexable;
|
||||
cvar_t gl_ztrick = { "gl_ztrick", "1" };
|
||||
|
||||
void VID_Update(vrect_t *rects) {}
|
||||
void D_BeginDirectRect(int x, int y, byte *pbitmap, int width, int height) {}
|
||||
void D_BeginDirectRect(int x, int y, const byte *pbitmap, int width, int height) {}
|
||||
void D_EndDirectRect(int x, int y, int width, int height) {}
|
||||
|
||||
/*
|
||||
|
@ -217,7 +217,7 @@ VID_ForceUnlockedAndReturnState(void)
|
||||
}
|
||||
|
||||
void
|
||||
D_BeginDirectRect(int x, int y, byte *pbitmap, int width, int height)
|
||||
D_BeginDirectRect(int x, int y, const byte *pbitmap, int width, int height)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -2266,7 +2266,7 @@ D_BeginDirectRect
|
||||
================
|
||||
*/
|
||||
void
|
||||
D_BeginDirectRect(int x, int y, byte *pbitmap, int width, int height)
|
||||
D_BeginDirectRect(int x, int y, const byte *pbitmap, int width, int height)
|
||||
{
|
||||
int i, j, reps, repshift;
|
||||
vrect_t rect;
|
||||
|
@ -1166,7 +1166,7 @@ Sys_SendKeyEvents(void)
|
||||
}
|
||||
|
||||
void
|
||||
D_BeginDirectRect(int x, int y, byte *pbitmap, int width, int height)
|
||||
D_BeginDirectRect(int x, int y, const byte *pbitmap, int width, int height)
|
||||
{
|
||||
// direct drawing of the "accessing disk" icon isn't supported under Linux
|
||||
}
|
||||
|
@ -152,7 +152,8 @@ extern vec3_t r_pright, r_pup, r_ppn;
|
||||
|
||||
|
||||
void D_Aff8Patch(void *pcolormap);
|
||||
void D_BeginDirectRect(int x, int y, byte *pbitmap, int width, int height);
|
||||
void D_BeginDirectRect(int x, int y, const byte *pbitmap, int width,
|
||||
int height);
|
||||
void D_DisableBackBufferAccess(void);
|
||||
void D_EndDirectRect(int x, int y, int width, int height);
|
||||
void D_PolysetDraw(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user