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

2.0
castano 17 years ago
parent 4b0fca6eca
commit 36ee0aee8d

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

Loading…
Cancel
Save