mirror of
https://github.com/glfw/glfw
synced 2026-09-26 16:18:21 +03:00
Win32 fixes
This commit is contained in:
parent
64d6096e81
commit
f38fa088b4
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue