mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-03-06 14:27:44 +00:00
allow 8 bit mono textures to be contour textures, fixes a bunch of missing transparency in harley la riders
This commit is contained in:
parent
ffaed8ae32
commit
e1278f4451
|
@ -184,7 +184,7 @@ UINT32 Texture::UploadTexture(const UINT16* src, UINT8* scratch, int format, boo
|
|||
scratch[i++] = texel;
|
||||
scratch[i++] = texel;
|
||||
scratch[i++] = texel;
|
||||
scratch[i++] = 255;
|
||||
scratch[i++] = (texel==255 ? 0 : 255);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -199,7 +199,7 @@ UINT32 Texture::UploadTexture(const UINT16* src, UINT8* scratch, int format, boo
|
|||
scratch[i++] = texel;
|
||||
scratch[i++] = texel;
|
||||
scratch[i++] = texel;
|
||||
scratch[i++] = 255;
|
||||
scratch[i++] = (texel == 255 ? 0 : 255);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue