etcpak: Fix type problem in ProcessRGB_ETC2.

git-svn-id: https://svn.eduke32.com/eduke32@5681 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-03-28 05:15:41 +00:00
parent 33634859c6
commit b2339862ce

View file

@ -697,7 +697,7 @@ uint64 ProcessRGB_ETC2( const uint8* src )
size_t idx = GetLeastError( err, 4 ); size_t idx = GetLeastError( err, 4 );
EncodeAverages( d, a, idx ); EncodeAverages( d, a, idx );
uint32 terr[2][8] = {}; uint64 terr[2][8] = {};
uint16 tsel[16][8]; uint16 tsel[16][8];
auto id = g_id[idx]; auto id = g_id[idx];
FindBestFit( terr, tsel, a, id, src ); FindBestFit( terr, tsel, a, id, src );