summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-09 22:11:31 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-10 12:56:53 +0300
commit61e9fc59323157bbd3ea024e816981b975d5b2c8 (patch)
treeaec9ac4d650b2949cde80a65d021ac7ab39a2fc9 /src/test
parent5fe5d3de3c570734d824afac4992a0d00386dbea (diff)
downloadmv-61e9fc59323157bbd3ea024e816981b975d5b2c8.tar.gz
mv-61e9fc59323157bbd3ea024e816981b975d5b2c8.tar.bz2
mv-61e9fc59323157bbd3ea024e816981b975d5b2c8.tar.xz
mv-61e9fc59323157bbd3ea024e816981b975d5b2c8.zip
Add basic texture drawing in modernopengl.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 840d35b7b..462e46716 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -379,7 +379,10 @@ int TestLauncher::testDraw()
mainGraphics->setColor(Color(0xFFU, 0xFFU, 0x00U, 0xFFU));
mainGraphics->drawRectangle(Rect(0, 0, 400, 200));
- mainGraphics->setColor(Color(0x00U, 0x00U, 0xFFU, 0x90U));
+ mainGraphics->setColor(Color(0xFFU, 0x00U, 0x00U, 0xB0U));
+ mainGraphics->drawImage(img[0], 190, 403);
+
+ mainGraphics->setColor(Color(0x80U, 0x00U, 0xA0U, 0x90U));
mainGraphics->fillRectangle(Rect(200, 100, 300, 300));
mainGraphics->popClipArea();