Make R_SetVrect const-correct.

This commit is contained in:
Bill Currie 2013-01-30 21:20:25 +09:00
parent 91e3769c05
commit 67c220de76
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ int D_SurfaceCacheForRes (int width, int height);
void D_FlushCaches (void);
void D_DeleteSurfaceCache (void);
void D_InitCaches (void *buffer, int size);
void R_SetVrect (vrect_t *pvrect, vrect_t *pvrectin, int lineadj);
void R_SetVrect (const vrect_t *pvrect, vrect_t *pvrectin, int lineadj);
void R_LoadSkys (const char *);

View file

@ -111,7 +111,7 @@ vrect_t scr_vrect;
qboolean scr_skipupdate;
void
R_SetVrect (vrect_t *vrectin, vrect_t *vrect, int lineadj)
R_SetVrect (const vrect_t *vrectin, vrect_t *vrect, int lineadj)
{
float size;
int h;