mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-04 13:05:09 +00:00
Added support of alpha channel
This commit is contained in:
@@ -184,7 +184,8 @@ public class SimpleMediaPlayer {
|
||||
|
||||
@Override
|
||||
public BufferFormat getBufferFormat(int sourceWidth, int sourceHeight) {
|
||||
return new RV32BufferFormat(sourceWidth, sourceHeight);
|
||||
//return new RV32BufferFormat(sourceWidth, sourceHeight);
|
||||
return new BufferFormat("BGRA", sourceWidth, sourceHeight, new int[] {sourceWidth * 4}, new int[] {sourceHeight});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user