Commit cca05062 authored by hybrid's avatar hybrid

Some more fixes for d3d8 and tab control.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@963 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 6f7e2a34
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment