Added love.graphics.getCanvasFormats and love.graphics.getCompressedImageFormats, and removed love.graphics.hasCanvasFormat.

The two new functions return tables containing the names of all relevant formats as keys, and boolean values indicating whether the formats are supported.
This commit is contained in:
Alex Szpakowski
2014-07-05 16:22:52 -03:00
parent 4c67a94ba3
commit d11ccd0e69
7 changed files with 92 additions and 65 deletions
+9 -2
View File
@@ -5,13 +5,19 @@ LOVE 0.9.2 [Baby Inspector]
* Added Shader:getExternVariable.
* Added several new canvas texture formats.
* Added love.graphics.hasCanvasFormat.
* Added an optional duration argument to Joystick:setVibration.
* Added love.graphics.getCanvasFormats.
* Added love.graphics.getCompressedImageFormats.
* Added ParticleSystem:setQuads.
* Added SpriteBatch:flush.
* Added optional duration argument to Joystick:setVibration.
* Added love.joystick.loadGamepadMappings and love.joystick.saveGamepadMappings.
* Added Joint:setUserData and Joint:getUserData.
* Added Body:getWorld.
* Added love.window.getDisplayName.
* Deprecated SpriteBatch:bind and SpriteBatch:unbind.
* Deprecated all uses of the name 'FSAA'.
* Fixed shader:getWarnings returning unnecessary information.
* Fixed love.filesystem.setIdentity breaking in some situations when called multiple times.
* Fixed a potential crash when Shader objects are garbage collected.
@@ -20,6 +26,7 @@ LOVE 0.9.2 [Baby Inspector]
* Fixed Image:refresh generating mipmaps multiple times if mipmap filtering is enabled.
* Fixed Mesh:setDrawRange when the Mesh has a vertex map set.
* Fixed internal detection of the 'position' and 'effect' shader functions.
* Fixed Texture memory leak when Meshes are garbage collected.
* Renamed all cases of FSAA to MSAA. The FSAA names still exist for backward-compatibility.