mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Improved performance when using ImageData methods in multiple threads when ImageData:encode is called
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user