Skip to content

Commit

Permalink
revert to previous names for a couple graphics enums
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Oct 3, 2024
1 parent eeec242 commit e1494d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/modules/graphics/Graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down Expand Up @@ -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 },
}
Expand Down
4 changes: 2 additions & 2 deletions testing/tests/graphics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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
Expand Down

0 comments on commit e1494d4

Please sign in to comment.