Page 1 of 1

[2.2] compile error with OGRE_ENABLE_LIGHT_OBB_RESTRAINT=0

Posted: Wed Mar 13, 2019 5:58 am
by rujialiu

At the end of function fillObbRestraint, #endif needs to move a little bit, otherwise we'll get compile error 8-)

Code: Select all

    inline float* fillObbRestraint( const Light *light, const Matrix4 &viewMatrix, float *passBufferPtr )
        return passBufferPtr;

} // line 1093, should also be wrapped inside #if/#endif pair