Improved performance when using ImageData methods in multiple threads when ImageData:encode is called

This commit is contained in:
Alex Szpakowski
2013-06-26 03:42:42 -03:00
parent b8efa6372b
commit b04a2fee87
6 changed files with 25 additions and 21 deletions
+2 -4
View File
@@ -24,9 +24,7 @@
// LOVE
#include "common/Data.h"
#include "common/StringMap.h"
#include "thread/threads.h"
using love::thread::Mutex;
#include "common/int.h"
// STL
#include <vector>
@@ -63,7 +61,7 @@ public:
{
int width, height;
size_t size;
char *data;
uint8 *data;
};
CompressedData();