glfw: make init hints a proper enum

Helps hexops/mach#37

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-10-30 19:59:04 -07:00 committed by Stephen Gutekanst
parent f1644d2e59
commit 7264741ede
2 changed files with 37 additions and 14 deletions

View file

@ -29,15 +29,3 @@ pub const osmesa_context_api = c.GLFW_OSMESA_CONTEXT_API;
/// Possible value for various window hints, etc.
pub const dont_care = c.GLFW_DONT_CARE;
// TODO(enumify)
/// Joystick hat buttons init hint.
pub const joystick_hat_buttons = c.GLFW_JOYSTICK_HAT_BUTTONS;
// TODO(enumify)
/// macOS specific init hint.
pub const cocoa_chdir_resources = c.GLFW_COCOA_CHDIR_RESOURCES;
// TODO(enumify)
/// macOS specific init hint.
pub const cocoa_menubar = c.GLFW_COCOA_MENUBAR;