- 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
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue