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:
parent
47a9ebb1a6
commit
c2fef27e6f
@ -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;
|
||||
|
@ -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();
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user