mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
Improved the performance of love.window.getPixelScale / toPixels / fromPixels by caching some values. Made some coordinate space-sensitive code use the proper conversions to get to the correct coordinate space.
--HG-- branch : minor
This commit is contained in:
@@ -50,7 +50,7 @@ OSStatus readFunc(void *inClientData, SInt64 inPosition, UInt32 requestCount, vo
|
||||
else
|
||||
{
|
||||
*actualCount = 0;
|
||||
return kAudioFileUnspecifiedError;
|
||||
return kAudioFilePositionError;
|
||||
}
|
||||
|
||||
return noErr;
|
||||
|
||||
Reference in New Issue
Block a user