Fix error, do not report that RGB images are not supported.

This commit is contained in:
castano 2007-10-08 10:05:43 +00:00
parent 4b0fca6eca
commit 36ee0aee8d

View File

@ -656,19 +656,7 @@ bool DirectDrawSurface::isSupported() const
} }
else if (header.pf.flags & DDPF_RGB) else if (header.pf.flags & DDPF_RGB)
{ {
if (header.pf.bitcount == 24) // All RGB formats are supported now.
{
return false;
}
else if (header.pf.bitcount == 32)
{
return false;
}
else
{
// Unsupported pixel format.
return false;
}
} }
else else
{ {