- 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

@ -65,7 +65,7 @@ FCanvasTexture::~FCanvasTexture ()
Unload ();
}
const BYTE *FCanvasTexture::GetColumn (unsigned int column, const Span **spans_out)
const uint8_t *FCanvasTexture::GetColumn (unsigned int column, const Span **spans_out)
{
bNeedsUpdate = true;
if (Canvas == NULL)
@ -90,7 +90,7 @@ const BYTE *FCanvasTexture::GetColumn (unsigned int column, const Span **spans_o
return Pixels + column*Height;
}
const BYTE *FCanvasTexture::GetPixels ()
const uint8_t *FCanvasTexture::GetPixels ()
{
bNeedsUpdate = true;
if (Canvas == NULL)
@ -118,12 +118,12 @@ void FCanvasTexture::MakeTexture ()
if (Width != Height || Width != Canvas->GetPitch())
{
Pixels = new BYTE[Width*Height];
Pixels = new uint8_t[Width*Height];
bPixelsAllocated = true;
}
else
{
Pixels = (BYTE*)Canvas->GetBuffer();
Pixels = (uint8_t*)Canvas->GetBuffer();
bPixelsAllocated = false;
}