diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-12 01:41:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-12 01:41:07 +0300 |
commit | 1f1e02d2b0143dd1f89720cc204bb0da36b302e9 (patch) | |
tree | 341a45d31b3e6ec38f11d664e98a8aaf43af04f0 /src/test/testlauncher.cpp | |
parent | 1d4c97f2f4337614b6d270ddacbfd00e408f4e9a (diff) | |
download | plus-1f1e02d2b0143dd1f89720cc204bb0da36b302e9.tar.gz plus-1f1e02d2b0143dd1f89720cc204bb0da36b302e9.tar.bz2 plus-1f1e02d2b0143dd1f89720cc204bb0da36b302e9.tar.xz plus-1f1e02d2b0143dd1f89720cc204bb0da36b302e9.zip |
In modernopengl add draw rescaled image.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r-- | src/test/testlauncher.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index de51ce970..d5aaa4c0e 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -398,6 +398,8 @@ int TestLauncher::testDraw() mainGraphics->calcPattern(col, img[1], 500, 400, 150, 100); mainGraphics->drawTileCollection(col); + mainGraphics->drawRescaledImage(img[0], 250, 350, 35, 90); + mainGraphics->setColor(Color(0x00U, 0xFFU, 0x00U, 0x90U)); mainGraphics->drawNet(450, 10, 600, 300, 32, 20); |