Apply SurfaceID type

This commit is contained in:
Clownacy 2020-09-10 21:29:25 +01:00
parent 4078182ee8
commit 0324d1532b
2 changed files with 2 additions and 2 deletions

View file

@ -635,7 +635,7 @@ void PutBitmap4(const RECT *rcView, int x, int y, const RECT *rect, SurfaceID su
backbuffer->Blt(&rcSet, surf[surf_no], &rcWork, DDBLT_WAIT, NULL);
}
void Surface2Surface(int x, int y, const RECT *rect, int to, int from)
void Surface2Surface(int x, int y, const RECT *rect, SurfaceID to, SurfaceID from)
{
static RECT rcWork;
static RECT rcSet;

View file

@ -54,7 +54,7 @@ BOOL MakeSurface_Generic(int bxsize, int bysize, SurfaceID surf_no, BOOL bSystem
void BackupSurface(SurfaceID surf_no, const RECT *rect);
void PutBitmap3(const RECT *rcView, int x, int y, const RECT *rect, SurfaceID surf_no);
void PutBitmap4(const RECT *rcView, int x, int y, const RECT *rect, SurfaceID surf_no);
void Surface2Surface(int x, int y, const RECT *rect, int to, int from);
void Surface2Surface(int x, int y, const RECT *rect, SurfaceID to, SurfaceID from);
unsigned long GetCortBoxColor(COLORREF col);
void CortBox(const RECT *rect, unsigned long col);
void CortBox2(const RECT *rect, unsigned long col, SurfaceID surf_no);