mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
- Use a temporary bitmap when when copying true color pixels of a multipatch texture, the blend
operation is not BLEND_NONE, and it doesn't just redirect straight to a direct texture. SVN r4151 (trunk)
This commit is contained in:
parent
e50de1e5fc
commit
fef083f59c
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ int FMultiPatchTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int rota
|
||||||
return Parts[0].Texture->CopyTrueColorPixels(bmp, x, y, rotate, inf);
|
return Parts[0].Texture->CopyTrueColorPixels(bmp, x, y, rotate, inf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rotate != 0 || (inf != NULL && inf->op != OP_OVERWRITE && inf->op != OP_COPY))
|
if (rotate != 0 || (inf != NULL && ((inf->op != OP_OVERWRITE && inf->op != OP_COPY) || inf->blend != BLEND_NONE)))
|
||||||
{ // We are doing some sort of fancy stuff to the destination bitmap, so composite to
|
{ // We are doing some sort of fancy stuff to the destination bitmap, so composite to
|
||||||
// a temporary bitmap, and copy that.
|
// a temporary bitmap, and copy that.
|
||||||
FBitmap tbmp;
|
FBitmap tbmp;
|
||||||
|
|
Loading…
Reference in a new issue