Commit 43089404 authored by hybrid's avatar hybrid

Add new extensions (although unsupported) also to d3d8 driver, with nearest match to min/max blend.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3681 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 8173e668
...@@ -1575,9 +1575,13 @@ void CD3D8Driver::setBasicRenderStates(const SMaterial& material, const SMateria ...@@ -1575,9 +1575,13 @@ void CD3D8Driver::setBasicRenderStates(const SMaterial& material, const SMateria
switch (material.BlendOperation) switch (material.BlendOperation)
{ {
case EBO_MAX: case EBO_MAX:
case EBO_MAX_FACTOR:
case EBO_MAX_ALPHA:
pID3DDevice->SetRenderState(D3DRS_BLENDOP, D3DBLENDOP_MAX); pID3DDevice->SetRenderState(D3DRS_BLENDOP, D3DBLENDOP_MAX);
break; break;
case EBO_MIN: case EBO_MIN:
case EBO_MIN_FACTOR:
case EBO_MIN_ALPHA:
pID3DDevice->SetRenderState(D3DRS_BLENDOP, D3DBLENDOP_MIN); pID3DDevice->SetRenderState(D3DRS_BLENDOP, D3DBLENDOP_MIN);
break; break;
case EBO_SUBTRACT: case EBO_SUBTRACT:
......
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