Commit b28f69b3 authored by nadro's avatar nadro

- Fixed D3D8 compilation issues.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4804 dfc29bdd-3216-0410-991c-e03cc46cb475
parent db055d9b
...@@ -118,7 +118,7 @@ public: ...@@ -118,7 +118,7 @@ public:
Driver->getBridgeCalls()->setBlendFunc(Driver->getD3DBlend(srcFact), Driver->getD3DBlend(dstFact)); Driver->getBridgeCalls()->setBlendFunc(Driver->getD3DBlend(srcFact), Driver->getD3DBlend(dstFact));
setTextureColorStage(pID3DDevice, 0, setTextureColorStage(pID3DDevice, 0,
D3DTA_TEXTURE, CD3D8MaterialRenderer::getD3DModulate(modulate), D3DTA_DIFFUSE); D3DTA_TEXTURE, Driver->getD3DModulate(modulate), D3DTA_DIFFUSE);
if ( alphaSource && (textureBlendFunc_hasAlpha ( srcFact ) || textureBlendFunc_hasAlpha ( dstFact ) )) if ( alphaSource && (textureBlendFunc_hasAlpha ( srcFact ) || textureBlendFunc_hasAlpha ( dstFact ) ))
{ {
......
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