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)