mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-26 11:21:08 +00:00
Merge pull request #554 from Pan7/fixq3data5
Q3data: Fix warning incompatible pointer types passing
This commit is contained in:
commit
93ec80ed9a
1 changed files with 2 additions and 2 deletions
|
@ -596,11 +596,11 @@ static float BTCCompressBlock( float inBlock[4][4][3], unsigned long out[2] ){
|
||||||
int i;
|
int i;
|
||||||
int btcQuantizedBlock[4][4]; // values should be [0..3]
|
int btcQuantizedBlock[4][4]; // values should be [0..3]
|
||||||
unsigned long encodedEndPoints, encodedBitmap;
|
unsigned long encodedEndPoints, encodedBitmap;
|
||||||
unsigned int endPoints[2][2]; // endPoints[0] = color start, endPoints[1] = color end
|
unsigned long endPoints[2][2]; // endPoints[0] = color start, endPoints[1] = color end
|
||||||
int blockY, blockX;
|
int blockY, blockX;
|
||||||
float error = 0;
|
float error = 0;
|
||||||
float bestError = 10000000000;
|
float bestError = 10000000000;
|
||||||
unsigned int bestEndPoints[2][2];
|
unsigned long bestEndPoints[2][2];
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue