Browse Source

- Fixed warning under XCode.

MelvMay-GG 12 years ago
parent
commit
104b924
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/source/2d/assets/ImageAsset.cc

+ 1 - 1
engine/source/2d/assets/ImageAsset.cc

@@ -1037,7 +1037,7 @@ void ImageAsset::calculateImage( void )
     }
     else
     {
-        TextureFilterMode filterMode;
+        TextureFilterMode filterMode = FILTER_NEAREST;
 
         // No, so fetch the global filter.
         const char* pGlobalFilter = Con::getVariable( "$pref::T2D::imageAssetGlobalFilterMode" );