mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(DxtDecoder): some methods made public.
This commit is contained in:
@@ -35,6 +35,8 @@ namespace GameRes.Formats.DirectDraw
|
|||||||
int m_height;
|
int m_height;
|
||||||
int m_output_stride;
|
int m_output_stride;
|
||||||
|
|
||||||
|
public byte[] Output { get { return m_output; } }
|
||||||
|
|
||||||
public DxtDecoder (byte[] input, ImageMetaData info)
|
public DxtDecoder (byte[] input, ImageMetaData info)
|
||||||
{
|
{
|
||||||
m_input = input;
|
m_input = input;
|
||||||
@@ -160,7 +162,7 @@ namespace GameRes.Formats.DirectDraw
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DecompressDXT5Block (byte[] input, int src, int block_y, int block_x)
|
public void DecompressDXT5Block (byte[] input, int src, int block_y, int block_x)
|
||||||
{
|
{
|
||||||
byte alpha0 = input[src];
|
byte alpha0 = input[src];
|
||||||
byte alpha1 = input[src+1];
|
byte alpha1 = input[src+1];
|
||||||
|
|||||||
Reference in New Issue
Block a user