You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't this be just a u32 instead of an enum, since when calling EnumDisplaySettings() to enumerate all possible display settings you will need to keep incrementing the index until the function returns 0, and as far as i know @intToEnum() causes undefined behaviour when passed an out of range int.
The text was updated successfully, but these errors were encountered:
https://github.com/marlersoft/zigwin32/blob/b70e7f818d77a0c0f39b0bd9c549e16439ff5780/win32/graphics/gdi.zig#LL1756C1-L1756C1
Shouldn't this be just a u32 instead of an enum, since when calling EnumDisplaySettings() to enumerate all possible display settings you will need to keep incrementing the index until the function returns 0, and as far as i know
@intToEnum()
causes undefined behaviour when passed an out of range int.The text was updated successfully, but these errors were encountered: