evas_3d_utils: do not bitwise AND against 0 in condition
authorStefan Schmidt <stefan@osg.samsung.com>
Mon, 30 Nov 2015 16:22:42 +0000 (17:22 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 30 Nov 2015 16:36:24 +0000 (17:36 +0100)
commit3a11868201344c3c79719269a4cebd375b3c3872
treeb0fa8d8a45a2758ca8c7a8d59656c64ca8d0df18
parent54abe37c44cae3500b514a6ab3563ff93e330725
evas_3d_utils: do not bitwise AND against 0 in condition

We need to check against the state here and if the compilers assignes 0 to the
first item in an enum we are screwed here as the bitwise AND will always
evaluate to false.

This is a re-incarnation from a486671bce76e405a8d7261f19b0f67ca678f0c4
src/lib/evas/include/evas_3d_utils.h