mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed: Camera textures may not be used as patch.
SVN r2296 (trunk)
This commit is contained in:
parent
f6cd776e2d
commit
e0419dde15
1 changed files with 4 additions and 0 deletions
|
@ -499,6 +499,8 @@ void FMultiPatchTexture::MakeTexture ()
|
|||
{
|
||||
for (int i = 0; i < NumParts; ++i)
|
||||
{
|
||||
if (Parts[i].Texture->bHasCanvas) continue; // cannot use camera textures as patch.
|
||||
|
||||
BYTE *trans = Parts[i].Translation ? Parts[i].Translation->Remap : NULL;
|
||||
{
|
||||
if (Parts[i].Blend != 0)
|
||||
|
@ -561,6 +563,8 @@ int FMultiPatchTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int rota
|
|||
for(int i = 0; i < NumParts; i++)
|
||||
{
|
||||
int ret = -1;
|
||||
|
||||
if (Parts[i].Texture->bHasCanvas) continue; // cannot use camera textures as patch.
|
||||
|
||||
// rotated multipatch parts cannot be composited directly
|
||||
bool rotatedmulti = Parts[i].Rotate != 0 && Parts[i].Texture->bMultiPatch;
|
||||
|
|
Loading…
Reference in a new issue