-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
The ConfigFlags enum contains flags which can be combined together like so:
var config = ConfigFlags.FLAG_WINDOW_RESIZABLE | ConfigFlags.FLAG_WINDOW_HIGHDPI
| ConfigFlags.FLAG_MSAA_4X_HINT | ConfigFlags.FLAG_VSYNC_HINTHowever doing that can trigger warning from linters:
Bitwise operation on enum that is not marked by the [Flags] attribute
To fix this, ConfigFlags should be tagged with [FlagsAttribute].
Normally I would submit a PR for this fix, but I assume it should be made in a code-gen script somewhere, not in the source itself.
Metadata
Metadata
Assignees
Labels
No labels