mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-23 03:41:02 +00:00
Fix some linker errors...
This commit is contained in:
parent
1b30efe488
commit
08c919d965
|
@ -1477,7 +1477,8 @@ namespace BC7C
|
|||
// implementation has an 4:1 compression ratio.
|
||||
void CompressImageBC7(const unsigned char *inBuf, unsigned char *outBuf, unsigned int width, unsigned int height)
|
||||
{
|
||||
BC7CompressionMode::MaxAnnealingIterations = min(BC7CompressionMode::kMaxAnnealingIterations, GetQualityLevel());
|
||||
const int kMaxIters = BC7CompressionMode::kMaxAnnealingIterations;
|
||||
BC7CompressionMode::MaxAnnealingIterations = min(kMaxIters, GetQualityLevel());
|
||||
|
||||
for(uint32 j = 0; j < height; j += 4)
|
||||
{
|
||||
|
@ -1519,7 +1520,8 @@ namespace BC7C
|
|||
unsigned int height,
|
||||
BlockStatManager &statManager
|
||||
) {
|
||||
BC7CompressionMode::MaxAnnealingIterations = min(BC7CompressionMode::kMaxAnnealingIterations, GetQualityLevel());
|
||||
const int kMaxIters = BC7CompressionMode::kMaxAnnealingIterations;
|
||||
BC7CompressionMode::MaxAnnealingIterations = min(kMaxIters, GetQualityLevel());
|
||||
|
||||
for(uint32 j = 0; j < height; j += 4)
|
||||
{
|
||||
|
|
|
@ -420,6 +420,6 @@ private:
|
|||
};
|
||||
|
||||
extern uint8 QuantizeChannel(const uint8 val, const uint8 mask, const int pBit = -1);
|
||||
extern uint32 GetPrincipalAxis(int nPts, const RGBAVector *pts, RGBADir &axis, double &eigOne, double *eigTwo);
|
||||
extern uint32 GetPrincipalAxis(uint32 nPts, const RGBAVector *pts, RGBADir &axis, double &eigOne, double *eigTwo);
|
||||
|
||||
#endif //__RGBA_ENDPOINTS_H__
|
||||
|
|
Loading…
Reference in a new issue