VIDEO: Cleanup mixed array / type declaration
This commit is contained in:
parent
4dd4cf8bc0
commit
89f40bc02a
1 changed files with 4 additions and 2 deletions
|
@ -60,12 +60,14 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
// { valid for metatype }, algorithm, num of deltas, vert res, horiz res
|
// { valid for metatype }, algorithm, num of deltas, vert res, horiz res
|
||||||
struct {
|
struct CompressionType {
|
||||||
int algorithm;
|
int algorithm;
|
||||||
int blockWidth; // vres
|
int blockWidth; // vres
|
||||||
int blockHeight; // hres
|
int blockHeight; // hres
|
||||||
int blockType;
|
int blockType;
|
||||||
} static const compressionTypes[17] = {
|
};
|
||||||
|
|
||||||
|
static const CompressionType compressionTypes[17] = {
|
||||||
{ ALGO_NOP, 0, 0, 0 },
|
{ ALGO_NOP, 0, 0, 0 },
|
||||||
|
|
||||||
{ ALGO_RGB16V, 4, 4, BLOCK_4x4 },
|
{ ALGO_RGB16V, 4, 4, BLOCK_4x4 },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue