Commit 5457c5e5 authored by nadro's avatar nadro

- Added vertex texture support to D3D9 driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4422 dfc29bdd-3216-0410-991c-e03cc46cb475
parent d39f77f0
......@@ -748,6 +748,9 @@ bool CD3D9Driver::setActiveTexture(u32 stage, const video::ITexture* texture)
else
{
pID3DDevice->SetTexture(stage, ((const CD3D9Texture*)texture)->getDX9Texture());
if (stage <= 4)
pID3DDevice->SetTexture(D3DVERTEXTEXTURESAMPLER0 + stage, ((const CD3D9Texture*)texture)->getDX9Texture());
}
return true;
}
......
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