i can't get the width and height, help
Posted: Thu Oct 28, 2004 06:47
/////////////////////////////////////////////////////////////////////////////////////
CEGUI::Renderer* rend = CEGUI::System::getSingleton().getRenderer();
rend->getWidth();
rend->getHeight();
/////////////////////////////////////////////////////////////////////////////////////
can't get the correct 'Width' and 'Height';
CEGUI::DirectX9Renderer* rend = (CEGUI::DirectX9Renderer*)CEGUI::System::getSingleton().getRenderer();
also can't get right. help~
this code come from 'ogre demo4'
CEGUI::Renderer* rend = CEGUI::System::getSingleton().getRenderer();
rend->getWidth();
rend->getHeight();
/////////////////////////////////////////////////////////////////////////////////////
can't get the correct 'Width' and 'Height';
CEGUI::DirectX9Renderer* rend = (CEGUI::DirectX9Renderer*)CEGUI::System::getSingleton().getRenderer();
also can't get right. help~
this code come from 'ogre demo4'
