- except for DWORD, all homegrown integer types are gone - a handful were left where they represent genuine Windows types.

This commit is contained in:
Christoph Oelckers 2017-03-09 19:54:41 +01:00
commit d2beacfc5f
136 changed files with 770 additions and 774 deletions

View file

@ -83,7 +83,7 @@ bool FWarpTexture::CheckModified ()
return r_FrameTime != GenTime;
}
const BYTE *FWarpTexture::GetPixels ()
const uint8_t *FWarpTexture::GetPixels ()
{
DWORD time = r_FrameTime;
@ -113,7 +113,7 @@ const uint32_t *FWarpTexture::GetPixelsBgra()
return PixelsBgra.data();
}
const BYTE *FWarpTexture::GetColumn (unsigned int column, const Span **spans_out)
const uint8_t *FWarpTexture::GetColumn (unsigned int column, const Span **spans_out)
{
DWORD time = r_FrameTime;
@ -146,11 +146,11 @@ const BYTE *FWarpTexture::GetColumn (unsigned int column, const Span **spans_out
void FWarpTexture::MakeTexture(DWORD time)
{
const BYTE *otherpix = SourcePic->GetPixels();
const uint8_t *otherpix = SourcePic->GetPixels();
if (Pixels == NULL)
{
Pixels = new BYTE[Width * Height];
Pixels = new uint8_t[Width * Height];
}
if (Spans != NULL)
{