[Fixed] Patch for IVideoDriver.h

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
REDDemon
Developer
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

[Fixed] Patch for IVideoDriver.h

Post by REDDemon »

file: "IVideoDriver.h"

line: 164

function : "void apply(SMaterial& material)"

Issue:

there is a missing material flag in the switch statement:
"EMF_COLOR_MATERIAL"

patch:

Code: Select all

 
"case EMF_COLOR_MATERIAL: material.ColorMaterial = Material.ColorMaterial; break;
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: [Patch] Patch for IVideoDriver.h

Post by hybrid »

Yeah, thanks for this. Fixed also the two other missing flags.
Post Reply