Cleaned up love.graphics Image code for determining whether the image's pixel format is supported.

This commit is contained in:
Alex Szpakowski
2019-01-16 19:30:21 -04:00
parent 1bb50fccac
commit 74dcc41b38
6 changed files with 23 additions and 30 deletions
+1 -1
View File
@@ -829,7 +829,7 @@ public:
**/
virtual bool isCanvasFormatSupported(PixelFormat format) const = 0;
virtual bool isCanvasFormatSupported(PixelFormat format, bool readable) const = 0;
virtual bool isImageFormatSupported(PixelFormat format) const = 0;
virtual bool isImageFormatSupported(PixelFormat format, bool sRGB = false) const = 0;
/**
* Gets the renderer used by love.graphics.