From e024ced5412f215927eba74375be24bc24ac72e9 Mon Sep 17 00:00:00 2001 From: InKryption Date: Wed, 17 Nov 2021 14:03:41 +0100 Subject: [PATCH] glfw: further reorganize `Window.Attrib` to match with `Window.Hint`. --- glfw/src/Window.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/glfw/src/Window.zig b/glfw/src/Window.zig index 652b7aa3..563b2c5d 100644 --- a/glfw/src/Window.zig +++ b/glfw/src/Window.zig @@ -1075,18 +1075,18 @@ pub const Attrib = enum(c_int) { focus_on_show = c.GLFW_FOCUS_ON_SHOW, client_api = c.GLFW_CLIENT_API, + context_creation_api = c.GLFW_CONTEXT_CREATION_API, context_version_major = c.GLFW_CONTEXT_VERSION_MAJOR, context_version_minor = c.GLFW_CONTEXT_VERSION_MINOR, context_revision = c.GLFW_CONTEXT_REVISION, + context_robustness = c.GLFW_CONTEXT_ROBUSTNESS, + context_release_behavior = c.GLFW_CONTEXT_RELEASE_BEHAVIOR, + context_no_error = c.GLFW_CONTEXT_NO_ERROR, opengl_forward_compat = c.GLFW_OPENGL_FORWARD_COMPAT, opengl_debug_context = c.GLFW_OPENGL_DEBUG_CONTEXT, opengl_profile = c.GLFW_OPENGL_PROFILE, - - context_release_behavior = c.GLFW_CONTEXT_RELEASE_BEHAVIOR, - context_no_error = c.GLFW_CONTEXT_NO_ERROR, - context_creation_api = c.GLFW_CONTEXT_CREATION_API, }; /// Returns an attribute of the specified window.