mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Error if a non-2D/affine matrix is used with auto-batched draws, since they perform CPU-side matrix transforms on 2-component vectors.
--HG-- branch : minor
This commit is contained in:
@@ -41,10 +41,10 @@ public:
|
||||
|
||||
enum MipmapMode
|
||||
{
|
||||
MIPMAP_NONE,
|
||||
MIPMAP_MANUAL,
|
||||
MIPMAP_AUTO,
|
||||
MIPMAP_MAX_ENUM
|
||||
MIPMAPS_NONE,
|
||||
MIPMAPS_MANUAL,
|
||||
MIPMAPS_AUTO,
|
||||
MIPMAPS_MAX_ENUM
|
||||
};
|
||||
|
||||
struct Settings
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
int width = 1;
|
||||
int height = 1;
|
||||
int layers = 1; // depth for 3D textures
|
||||
MipmapMode mipmaps = MIPMAP_NONE;
|
||||
MipmapMode mipmaps = MIPMAPS_NONE;
|
||||
PixelFormat format = PIXELFORMAT_NORMAL;
|
||||
TextureType type = TEXTURE_2D;
|
||||
float pixeldensity = 1.0f;
|
||||
@@ -86,8 +86,8 @@ protected:
|
||||
|
||||
private:
|
||||
|
||||
static StringMap<MipmapMode, MIPMAP_MAX_ENUM>::Entry mipmapEntries[];
|
||||
static StringMap<MipmapMode, MIPMAP_MAX_ENUM> mipmapModes;
|
||||
static StringMap<MipmapMode, MIPMAPS_MAX_ENUM>::Entry mipmapEntries[];
|
||||
static StringMap<MipmapMode, MIPMAPS_MAX_ENUM> mipmapModes;
|
||||
|
||||
}; // Canvas
|
||||
|
||||
|
||||
Reference in New Issue
Block a user