mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Added "mipmap" love.graphics.isSupported string
This commit is contained in:
@@ -853,7 +853,12 @@ int w_isSupported(lua_State *L)
|
||||
supported = false;
|
||||
break;
|
||||
case Graphics::SUPPORT_SUBTRACTIVE:
|
||||
supported = (GLEE_VERSION_1_4 || GLEE_ARB_imaging) || (GLEE_EXT_blend_minmax && GLEE_EXT_blend_subtract);
|
||||
if (!((GLEE_VERSION_1_4 || GLEE_ARB_imaging) || (GLEE_EXT_blend_minmax && GLEE_EXT_blend_subtract)))
|
||||
supported = false;
|
||||
break;
|
||||
case Graphics::SUPPORT_MIPMAP:
|
||||
if (!Image::hasMipmapSupport())
|
||||
supported = false;
|
||||
break;
|
||||
default:
|
||||
supported = false;
|
||||
|
||||
Reference in New Issue
Block a user