Merged default into minor

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2014-08-13 01:50:52 -03:00
4 changed files with 20 additions and 12 deletions
-8
View File
@@ -20,8 +20,6 @@
#include "ddsHandler.h"
#include <algorithm>
namespace love
{
namespace image
@@ -31,12 +29,6 @@ namespace magpie
bool ddsHandler::canParse(const filesystem::FileData *data)
{
std::string ext = data->getExtension();
std::transform(ext.begin(), ext.end(), ext.begin(), tolower);
if (ext.compare("dds") != 0)
return false;
return dds::isCompressedDDS(data->getData(), data->getSize());
}