mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-11 05:01:09 +00:00
- fixed crash with texture upscaling in the truecolor software renderer.
Based on: 4746d0c626
This commit is contained in:
parent
68e0e52aaf
commit
65df05cba2
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ const uint32_t *FSoftwareTexture::GetPixelsBgra()
|
|||
}
|
||||
else
|
||||
{
|
||||
auto tempbuffer = mSource->CreateTexBuffer(0, mBufferFlags);
|
||||
auto tempbuffer = mSource->CreateTexBuffer(0, mBufferFlags | CTF_Upscale);
|
||||
CreatePixelsBgraWithMipmaps();
|
||||
PalEntry *pe = (PalEntry*)tempbuffer.mBuffer;
|
||||
for (int y = 0; y < GetPhysicalHeight(); y++)
|
||||
|
|
Loading…
Reference in a new issue