Drawing text at end.
Posted: Wed Jun 27, 2007 3:20 pm
I render a black bitmap, map and a text. I run the program and i see only the black bitmap at first place and the map but no text. I think the text is behind the map. How may i change code to draw the text first?
Code: Select all
IGUIFont* font = device->getGUIEnvironment()->getFont("images/courier.bmp");
while(device->run())
{
driver->beginScene(true, true, SColor(0,192,192,192));
font->draw(L"Also mixing with 3d graphics is possible.",rect<s32>(10,10,300,60),SColor(255,255,255,0));
smgr->drawAll();
guienv->drawAll();
driver->endScene();
}