diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-23 20:17:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-23 20:17:46 +0300 |
commit | eed93efa8aa8539b47f225b4abafe6d59bebe67d (patch) | |
tree | 222fa8dcc991d9603d94645ad66cedd488648042 /src/test/testlauncher.cpp | |
parent | bec451007ce9471004ec4a8357cea3cb7712de55 (diff) | |
download | manaverse-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.gz manaverse-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.bz2 manaverse-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.xz manaverse-eed93efa8aa8539b47f225b4abafe6d59bebe67d.zip |
Rename drawImage2 methods into drawImage.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r-- | src/test/testlauncher.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index a0e4f98dc..584bdb5cb 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -94,7 +94,7 @@ int TestLauncher::testBackend() const for (int f = 0; f < cnt; f ++) { - mainGraphics->drawImage2(img, cnt * 7, cnt * 5); + mainGraphics->drawImage(img, cnt * 7, cnt * 5); mainGraphics->updateScreen(); } @@ -152,11 +152,11 @@ int TestLauncher::testFps() { for (int y = 0; y < 600; y += 50) { - mainGraphics->drawImage2(img[idx], x, y); + mainGraphics->drawImage(img[idx], x, y); idx ++; if (idx > sz) idx = 0; - mainGraphics->drawImage2(img[idx], x, y); + mainGraphics->drawImage(img[idx], x, y); idx ++; if (idx > sz) idx = 0; @@ -211,9 +211,9 @@ int TestLauncher::testInternal() { for (int y = 0; y < 600; y += 25) { - mainGraphics->drawImage2(img[idx], x, y); - mainGraphics->drawImage2(img[idx], x + 1, y); - mainGraphics->drawImage2(img[idx], x, y + 5); + mainGraphics->drawImage(img[idx], x, y); + mainGraphics->drawImage(img[idx], x + 1, y); + mainGraphics->drawImage(img[idx], x, y + 5); idx ++; if (idx > 3) |