From 61e9fc59323157bbd3ea024e816981b975d5b2c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 Jun 2014 22:11:31 +0300 Subject: Add basic texture drawing in modernopengl. --- src/test/testlauncher.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/test') 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(); -- cgit v1.2.3-70-g09d2