Rename enum GFXTextureProfile::None for avoid conficts on Linux.

This commit is contained in:
LuisAntonRebollo 2014-04-07 00:03:52 +02:00
parent 938e28b6f3
commit 7f46383eb5
13 changed files with 24 additions and 24 deletions

View file

@ -1031,7 +1031,7 @@ void GFXTextureManager::_validateTexParams( const U32 width, const U32 height,
// If the format is non-compressed, and the profile requests a compressed format
// than change the format.
GFXFormat testingFormat = inOutFormat;
if( profile->getCompression() != GFXTextureProfile::None )
if( profile->getCompression() != GFXTextureProfile::NONE )
{
const int offset = profile->getCompression() - GFXTextureProfile::DXT1;
testingFormat = GFXFormat( GFXFormatDXT1 + offset );