fix include header.

return true in isSupported()
This commit is contained in:
castano 2007-05-18 11:06:09 +00:00
parent d0f711c0ae
commit 51a24b88a3
2 changed files with 6 additions and 4 deletions

View File

@ -26,7 +26,7 @@
#include <nvmath/Color.h> #include <nvmath/Color.h>
#include <nvimage.h> #include <nvimage/nvimage.h>
namespace nv namespace nv
{ {

View File

@ -385,9 +385,11 @@ bool DirectDrawSurface::isSupported() const
{ {
if (header.pf.bitcount == 24) if (header.pf.bitcount == 24)
{ {
return false;
} }
else if (header.pf.bitcount == 24) else if (header.pf.bitcount == 32)
{ {
return false;
} }
else else
{ {
@ -412,7 +414,7 @@ bool DirectDrawSurface::isSupported() const
return false; return false;
} }
return false; return true;
} }