powervr-graphics / Native_SDK

C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
https://docs.imgtec.com/sdk-documentation/html/introduction.html
MIT License
702 stars 197 forks source link

framework: fix swap between binary and logical not #86

Open Alucowie opened 2 months ago

Alucowie commented 2 months ago

flags is a bit field.

The logical not operator could have erased another bit than the one expected.

This commit fixes the flag reset.