Revert "[Tizen] To get MaxTextureSize by using glGetIntegerv not by using environment...
[platform/core/uifw/dali-adaptor.git] / dali / internal / imaging / common / image-loader.cpp
index 5980796..b83878e 100755 (executable)
@@ -47,8 +47,6 @@ Integration::Log::Filter* gLogFilter = Debug::Filter::New( Debug::Concise, false
 
 static unsigned int gMaxTextureSize = 4096;
 
-static bool gMaxTextureSizeUpdated = false;
-
 /**
  * Enum for file formats, has to be in sync with BITMAP_LOADER_LOOKUP_TABLE
  */
@@ -420,7 +418,6 @@ ImageDimensions GetClosestImageSize( Integration::ResourcePointer resourceBuffer
 void SetMaxTextureSize( unsigned int size )
 {
   gMaxTextureSize = size;
-  gMaxTextureSizeUpdated = true;
 }
 
 unsigned int GetMaxTextureSize()
@@ -428,11 +425,6 @@ unsigned int GetMaxTextureSize()
   return gMaxTextureSize;
 }
 
-bool MaxTextureSizeUpdated()
-{
-  return gMaxTextureSizeUpdated;
-}
-
 } // ImageLoader
 } // TizenPlatform
 } // Dali