From f38fa088b4fd7c09fcfffcfd994fe12830004e1d Mon Sep 17 00:00:00 2001 From: M374LX Date: Wed, 19 Aug 2026 21:29:37 -0300 Subject: [PATCH] Win32 fixes --- src/wgl_context.c | 2 +- src/win32_window.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wgl_context.c b/src/wgl_context.c index 2376d6ec..88b18300 100644 --- a/src/wgl_context.c +++ b/src/wgl_context.c @@ -194,7 +194,7 @@ static int _glfwChoosePixelFormatWGL(_GLFWwindow* window, if (ctxconfig->client == GLFW_OPENGL_API) { if (_glfw.wgl.ARB_framebuffer_sRGB || _glfw.wgl.EXT_framebuffer_sRGB) - u->sRGB = _FIND_ATTRIB_VALUE(WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB); + u->sRGB = _GLFW_FIND_ATTRIB_VALUE(WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB); } else { diff --git a/src/win32_window.c b/src/win32_window.c index 6f83b6b8..4cdbc789 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -1332,7 +1332,7 @@ static int _glfwCreateNativeWindowWin32(_GLFWwindow* window, cursorPixels[3] = 1; const GLFWimage cursorImage = { cursorWidth, cursorHeight, cursorPixels }; - _glfw.win32.blankCursor = createIcon(&cursorImage, 0, 0, FALSE); + _glfw.win32.blankCursor = _glfwCreateIconWin32(&cursorImage, 0, 0, FALSE); _glfw_free(cursorPixels); if (!_glfw.win32.blankCursor)