Some more fixes for d3d8 and tab control.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@963 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
hybrid 2007-09-16 19:10:42 +00:00
parent 47a9ebb1a6
commit c2fef27e6f
3 changed files with 3 additions and 3 deletions

View File

@ -590,7 +590,7 @@ void CD3D8Driver::setTransform(E_TRANSFORMATION_STATE state, const core::matrix4
//! sets the current Texture
bool CD3D8Driver::setTexture(s32 stage, video::ITexture* texture)
bool CD3D8Driver::setTexture(s32 stage, const video::ITexture* texture)
{
if (CurrentTexture[stage] == texture)
return true;

View File

@ -225,7 +225,7 @@ namespace video
void setRenderStatesStencilShadowMode(bool zfail);
//! sets the current Texture
bool setTexture(s32 stage, video::ITexture* texture);
bool setTexture(s32 stage, const video::ITexture* texture);
//! resets the device
bool reset();

View File

@ -458,7 +458,7 @@ void CGUITabControl::removeChild(IGUIElement* child)
// reassign numbers
if (isTab)
{
for (i=0; i<(s32)Tabs.size(); ++i)
for (i=0; i<Tabs.size(); ++i)
if (Tabs[i])
Tabs[i]->setNumber(i);
}