mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Add missing function/const types
This commit is contained in:
@ -92,7 +92,7 @@ void plLODMipmap::SetLOD(int lod)
|
||||
{
|
||||
hsAssert(fBase, "UnInitialized");
|
||||
|
||||
const kMaxLOD = 5;
|
||||
const int kMaxLOD = 5;
|
||||
if( lod > kMaxLOD )
|
||||
lod = kMaxLOD;
|
||||
if( lod >= fBase->GetNumLevels() )
|
||||
|
@ -191,7 +191,7 @@ UInt32 plMipmap::Read( hsStream *s )
|
||||
|
||||
// Decide to clamp if we were told to
|
||||
int clampBy = fGlobalNumLevelsToChop;
|
||||
const kMaxSkipLevels = 1;
|
||||
const int kMaxSkipLevels = 1;
|
||||
if( clampBy > kMaxSkipLevels )
|
||||
clampBy = kMaxSkipLevels;
|
||||
if( fFlags & kNoMaxSize )
|
||||
|
Reference in New Issue
Block a user