- except for DWORD, all homegrown integer types are gone - a handful were left where they represent genuine Windows types.
This commit is contained in:
parent
c008ddaf66
commit
d2beacfc5f
136 changed files with 770 additions and 774 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue