Commit df7fd787 authored by cutealien's avatar cutealien

Remove D3D8 tests.

Move ECOLOR_FORMAT enums added in r4984 to the end (adding in them in the middle can mess with serialization).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5092 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 3ef49054
......@@ -70,17 +70,6 @@ namespace video
//! 128 bit format using 32 bits for the red, green, blue and alpha channels.
ECF_A32B32G32R32F,
/** Depth and stencil formats. */
//! 16 bit format using 16 bits for depth.
ECF_D16,
//! 32 bit format using 32 bits for depth.
ECF_D32,
//! 32 bit format using 24 bits for depth and 8 bits for stencil.
ECF_D24S8,
/** Unsigned normalized integer formats. */
//! 8 bit format using 8 bits for the red channel.
......@@ -95,6 +84,17 @@ namespace video
//! 32 bit format using 16 bits for the red and green channels.
ECF_R16G16,
/** Depth and stencil formats. */
//! 16 bit format using 16 bits for depth.
ECF_D16,
//! 32 bit format using 32 bits for depth.
ECF_D32,
//! 32 bit format using 24 bits for depth and 8 bits for stencil.
ECF_D24S8,
//! Unknown color format:
ECF_UNKNOWN
};
......
......@@ -7,8 +7,9 @@
#define TestWithAllDrivers(X) \
logTestString("Running test " #X "\n"); \
for (u32 i=1; i<video::EDT_COUNT; ++i) \
result &= X(video::E_DRIVER_TYPE(i))
for (u32 i=1; i<video::EDT_COUNT; ++i) \
if ( video::E_DRIVER_TYPE(i) != video::DEPRECATED_EDT_DIRECT3D8_NO_LONGER_EXISTS ) \
result &= X(video::E_DRIVER_TYPE(i))
#define TestWithAllHWDrivers(X) \
logTestString("Running test " #X "\n"); \
for (u32 i=video::EDT_DIRECT3D9; i<video::EDT_COUNT; ++i) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment