Open m-7761 opened 4 years ago
I realized glLogicOp( GL_COPY );
is suppressing the bug. I think its semantics are equivalent to disabling the feature. So I looked up GL_LOGIC_OP and... it is a back-compat constant for GL_INDEX_LOGIC_OP.
(There's a lot of junk code like GL_COPY and methods that disable logic-op, etc. out of the blue.)
https://github.com/zturtleman/mm3d/blob/8c6c6ea29e2ad423d35ed1c2147f09c68f49d94b/src/depui/texwidget.cc#L1904
glEnable/Disable is mismatched.