mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
Add Data:performAtomic to lock a mutex while using a Data object.
This commit is contained in:
@@ -764,11 +764,6 @@ void ImageData::paste(ImageData *src, int dx, int dy, int sx, int sy, int sw, in
|
||||
}
|
||||
}
|
||||
|
||||
love::thread::Mutex *ImageData::getMutex() const
|
||||
{
|
||||
return mutex;
|
||||
}
|
||||
|
||||
size_t ImageData::getPixelSize() const
|
||||
{
|
||||
return getPixelFormatBlockSize(format);
|
||||
|
||||
Reference in New Issue
Block a user