Add SpriteBatch support to love.graphics.isSupported

This commit is contained in:
Bart van Strien
2011-07-24 15:37:02 +02:00
parent bd2b190a19
commit 3c5c4ee604
5 changed files with 14 additions and 1 deletions
@@ -761,6 +761,10 @@ namespace opengl
if (!PixelEffect::isSupported())
supported = false;
break;
case Graphics::SUPPORT_SPRITEBATCHES:
if (!SpriteBatch::isSupported())
supported = false;
break;
default:
supported = false;
}