IGUIButton::setImage doesnot work on old computer !

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
kevinlynx
Posts: 24
Joined: Mon Jun 18, 2007 3:45 pm

IGUIButton::setImage doesnot work on old computer !

Post by kevinlynx »

Hi,
i 'm using Irrlicht 1.3 . And in my project i created a button , and i set a texture to it so that it to be an image button .

Code: Select all

	button->setImage( resMgr->mGUIButtonS );
	button->setPressedImage( resMgr->mGUIButtonP );
	button->setUseAlphaChannel( true );
	button->setDrawBorder( false );

As mGUIButtonS ( also mGUIButtonP ) is a texture with 200*50 size. ( i know the limitation of texutures size ) And the codes works perfectly on my computer ( sp2500+64bit , Gf6100TC )
But it does not work on my friend 's computer .It seems his video card is old . (Sis650)
So how to solve this problem ?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Well, if you know about the texture size limitations, then why don't you try if it works with textures which care about the limits?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply