diff options
author | Neeraj Kumar | 2010-06-08 17:24:29 +0000 |
---|---|---|
committer | Neeraj Kumar | 2010-06-08 17:24:29 +0000 |
commit | 207a5e0779de9f0002b0b1984bde90ce6597e1f2 (patch) | |
tree | 98883ef89261afd4288f6dadbffe436d5d966dfc /engines/testbed/graphics.cpp | |
parent | e00e94ae18aeb1ed460476f822e20b5bdfe171a4 (diff) | |
parent | 356728dab7f2c4cedf73684d7fe3b968be7396fd (diff) | |
download | scummvm-rg350-207a5e0779de9f0002b0b1984bde90ce6597e1f2.tar.gz scummvm-rg350-207a5e0779de9f0002b0b1984bde90ce6597e1f2.tar.bz2 scummvm-rg350-207a5e0779de9f0002b0b1984bde90ce6597e1f2.zip |
updated my outdate copy of trunk, added couple of more tests in gfxtests
svn-id: r49510
Diffstat (limited to 'engines/testbed/graphics.cpp')
-rw-r--r-- | engines/testbed/graphics.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/testbed/graphics.cpp b/engines/testbed/graphics.cpp index a5658a1213..ea1c1b1130 100644 --- a/engines/testbed/graphics.cpp +++ b/engines/testbed/graphics.cpp @@ -3,19 +3,20 @@ namespace Testbed { +byte GFXTestSuite::_palette[3 * 4] = {0, 0, 0, 0, 255, 255, 255, 0, 255, 255, 255, 0}; + GFXTestSuite::GFXTestSuite() { // Initialize color palettes // Te fourth field is for alpha channel which is unused // Assuming 8bpp as of now - _palette[0] =_palette[1] =_palette[2] = 0; - _palette[4] =_palette[5] =_palette[6] = 255; - _palette[8] =_palette[9] =_palette[10] = 255; g_system->setPalette(_palette, 0, 3); g_system->grabPalette(_palette, 0, 3); // Add tests here - addTest("FullScreenMode", &testFullScreenMode); - addTest("AspectRatio", &testAspectRatio); +// addTest("FullScreenMode", &testFullScreenMode); +// addTest("AspectRatio", &testAspectRatio); + addTest("PalettizedCursors", &testPalettizedCursors); +// addTest("BlitBitmaps", &testCopyRectToScreen); } const char *GFXTestSuite::getName() { |