Commit 1b5297b8 authored by nadro's avatar nadro

- Minor improvement in SMaterial::isTransparent method.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4795 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 9bad8de6
...@@ -713,7 +713,7 @@ namespace video ...@@ -713,7 +713,7 @@ namespace video
{ {
bool status = false; bool status = false;
if (BlendOperation != EBO_NONE) if (BlendOperation != EBO_NONE && BlendFactor != 0.f)
{ {
E_BLEND_FACTOR srcRGBFact = EBF_ZERO; E_BLEND_FACTOR srcRGBFact = EBF_ZERO;
E_BLEND_FACTOR dstRGBFact = EBF_ZERO; E_BLEND_FACTOR dstRGBFact = EBF_ZERO;
......
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