1
0
mirror of synced 2025-02-20 20:51:35 +01:00

Update image properly for bntx if channel selectors are changed

This commit is contained in:
KillzXGaming 2019-06-27 16:02:54 -04:00
parent b2b1907046
commit 4538b86834
6 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -1192,6 +1192,11 @@ namespace FirstPlugin
try
{
RedChannel = SetChannel(Texture.ChannelRed);
GreenChannel = SetChannel(Texture.ChannelGreen);
BlueChannel = SetChannel(Texture.ChannelBlue);
AlphaChannel = SetChannel(Texture.ChannelAlpha);
uint blkWidth = GetBlockWidth(Format);
uint blkHeight = GetBlockHeight(Format);
uint blkDepth = GetBlockDepth(Format);