Improved the performance of dds data loading (love.image.newCompressedData / love.graphics.newImage("myfile.dds"))

This commit is contained in:
Alex Szpakowski
2013-06-14 08:43:07 -03:00
parent be33d17f89
commit 03f5bd9a5a
5 changed files with 30 additions and 4 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ public:
{
int width, height;
size_t size;
std::vector<unsigned char> data;
char *data;
};
CompressedData();