Update image properly for bntx if channel selectors are changed
This commit is contained in:
parent
b2b1907046
commit
4538b86834
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1192,6 +1192,11 @@ namespace FirstPlugin
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
RedChannel = SetChannel(Texture.ChannelRed);
|
||||||
|
GreenChannel = SetChannel(Texture.ChannelGreen);
|
||||||
|
BlueChannel = SetChannel(Texture.ChannelBlue);
|
||||||
|
AlphaChannel = SetChannel(Texture.ChannelAlpha);
|
||||||
|
|
||||||
uint blkWidth = GetBlockWidth(Format);
|
uint blkWidth = GetBlockWidth(Format);
|
||||||
uint blkHeight = GetBlockHeight(Format);
|
uint blkHeight = GetBlockHeight(Format);
|
||||||
uint blkDepth = GetBlockDepth(Format);
|
uint blkDepth = GetBlockDepth(Format);
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user