mirror of
https://github.com/love2d/love.git
synced 2026-08-12 00:20:52 +02:00
revert to previous names for a couple graphics enums
This commit is contained in:
@@ -2907,7 +2907,7 @@ STRINGMAP_CLASS_END(Graphics, Graphics::LineJoin, Graphics::LINE_JOIN_MAX_ENUM,
|
||||
|
||||
STRINGMAP_CLASS_BEGIN(Graphics, Graphics::Feature, Graphics::FEATURE_MAX_ENUM, feature)
|
||||
{
|
||||
{ "multirendertargetformats", Graphics::FEATURE_MULTI_RENDER_TARGET_FORMATS },
|
||||
{ "multicanvasformats", Graphics::FEATURE_MULTI_RENDER_TARGET_FORMATS },
|
||||
{ "clampzero", Graphics::FEATURE_CLAMP_ZERO },
|
||||
{ "clampone", Graphics::FEATURE_CLAMP_ONE },
|
||||
{ "lighten", Graphics::FEATURE_LIGHTEN },
|
||||
@@ -2935,7 +2935,7 @@ STRINGMAP_CLASS_BEGIN(Graphics, Graphics::SystemLimit, Graphics::LIMIT_MAX_ENUM,
|
||||
{ "threadgroupsx", Graphics::LIMIT_THREADGROUPS_X },
|
||||
{ "threadgroupsy", Graphics::LIMIT_THREADGROUPS_Y },
|
||||
{ "threadgroupsz", Graphics::LIMIT_THREADGROUPS_Z },
|
||||
{ "rendertargets", Graphics::LIMIT_RENDER_TARGETS },
|
||||
{ "multicanvas", Graphics::LIMIT_RENDER_TARGETS },
|
||||
{ "texturemsaa", Graphics::LIMIT_TEXTURE_MSAA },
|
||||
{ "anisotropy", Graphics::LIMIT_ANISOTROPY },
|
||||
}
|
||||
|
||||
@@ -2806,7 +2806,7 @@ love.test.graphics.getSupported = function(test)
|
||||
local gfs = {
|
||||
'clampzero', 'lighten', 'glsl3', 'instancing', 'fullnpot',
|
||||
'pixelshaderhighp', 'shaderderivatives', 'indirectdraw',
|
||||
'copytexturetobuffer', 'multirendertargetformats',
|
||||
'copytexturetobuffer', 'multicanvasformats',
|
||||
'clampone', 'glsl4'
|
||||
}
|
||||
local features = love.graphics.getSupported()
|
||||
@@ -2823,7 +2823,7 @@ love.test.graphics.getSystemLimits = function(test)
|
||||
local glimits = {
|
||||
'texelbuffersize', 'shaderstoragebuffersize', 'threadgroupsx',
|
||||
'threadgroupsy', 'pointsize', 'texturesize', 'texturelayers', 'volumetexturesize',
|
||||
'cubetexturesize', 'anisotropy', 'texturemsaa', 'rendertargets', 'threadgroupsz'
|
||||
'cubetexturesize', 'anisotropy', 'texturemsaa', 'multicanvas', 'threadgroupsz'
|
||||
}
|
||||
local limits = love.graphics.getSystemLimits()
|
||||
for g=1,#glimits do
|
||||
|
||||
Reference in New Issue
Block a user