button->setImage doesnt works with BURNINGSVIDEO or EDT_S
Posted: Mon Mar 01, 2010 1:58 pm
button->setImage doesnt works with BURNINGSVIDEO or EDT_SOFTWARE
How to reproduce the error:
Add the following code somewhere before the mainloop in the UserInterfase example
Execute the example and select EDT_BURNINGSVIDEO or EDT_SOFTWARE.
The image in the button is not displayed. Quit, execute it again and select Direct 8.1, 9.0 or Opengl. The image is correctly displayed.
Not sure if its a bug or if this is warned somewhere but I cant find any reference about that.
How to reproduce the error:
Add the following code somewhere before the mainloop in the UserInterfase example
Code: Select all
video::ITexture* images = driver->getTexture("myimage.png");
IGUIButton* btn = env->addButton(rect<s32>(0,400,117,400+38), 0, 2376,
L"Button", L"Tooltip");
btn->setImage (images);
The image in the button is not displayed. Quit, execute it again and select Direct 8.1, 9.0 or Opengl. The image is correctly displayed.
Not sure if its a bug or if this is warned somewhere but I cant find any reference about that.