mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Syntax fixes for PubUtilLib.
This commit is contained in:
@ -32,11 +32,12 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
class plLODMipmap : public plMipmap
|
||||
{
|
||||
protected:
|
||||
const enum
|
||||
enum
|
||||
{
|
||||
kRefBase = 0
|
||||
};
|
||||
const enum
|
||||
|
||||
enum
|
||||
{
|
||||
kNumLODs = 5
|
||||
};
|
||||
|
@ -383,7 +383,7 @@ plMipmap *plMipmap::ISplitAlpha()
|
||||
|
||||
switch( fUncompressedInfo.fType )
|
||||
{
|
||||
case fUncompressedInfo.kRGB8888:
|
||||
case UncompressedInfo::kRGB8888:
|
||||
// first byte is the alpha channel, we will drop this byte into the red channel for compression
|
||||
while (curByte < numBytes)
|
||||
{
|
||||
@ -411,7 +411,7 @@ void plMipmap::IRecombineAlpha( plMipmap *alphaChannel )
|
||||
|
||||
switch( fUncompressedInfo.fType )
|
||||
{
|
||||
case fUncompressedInfo.kRGB8888:
|
||||
case UncompressedInfo::kRGB8888:
|
||||
// first byte is the alpha channel, we will grab this byte from the red channel for reconstitution
|
||||
while (curByte < numBytes)
|
||||
{
|
||||
|
Reference in New Issue
Block a user