Browse Source

Cleaned up a bit of unused code.

Alex Szpakowski 11 years ago
parent
commit
1978fa9910
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/modules/graphics/opengl/Image.cpp

+ 0 - 2
src/modules/graphics/opengl/Image.cpp

@@ -55,7 +55,6 @@ Image::Image(love::image::ImageData *data, Format format)
 	height = data->getHeight();
 	preload();
 
-	textureMemorySize = data->getSize();
 	++imageCount;
 }
 
@@ -76,7 +75,6 @@ Image::Image(love::image::CompressedData *cdata, Format format)
 	height = cdata->getHeight(0);
 	preload();
 
-	textureMemorySize = cdata->getSize(0);
 	++imageCount;
 }