mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Fixed the rg11b10f canvas format, removed rgb9e5 due to lack of real support, improved love.graphics.hasCanvasFormat to do extra checks
--HG-- branch : Canvas-formats
This commit is contained in:
@@ -50,7 +50,6 @@ public:
|
||||
FORMAT_RGB5A1,
|
||||
FORMAT_RGB565,
|
||||
FORMAT_RGB10A2,
|
||||
FORMAT_RGB9E5,
|
||||
FORMAT_RG11B10F,
|
||||
FORMAT_RGBA16F,
|
||||
FORMAT_RGBA32F,
|
||||
@@ -158,6 +157,8 @@ private:
|
||||
void setupGrab();
|
||||
void drawv(const Matrix &t, const Vertex *v);
|
||||
|
||||
static bool supportedFormats[FORMAT_MAX_ENUM];
|
||||
|
||||
static StringMap<Format, FORMAT_MAX_ENUM>::Entry formatEntries[];
|
||||
static StringMap<Format, FORMAT_MAX_ENUM> formats;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user