This commit is contained in:
Doug Binks 2024-01-28 17:24:14 +00:00
parent 7321b56cad
commit 1de78b2ff9
3 changed files with 0 additions and 8 deletions

View File

@ -452,7 +452,6 @@ static void createBlankCursor(void)
free(andMask); free(andMask);
free(xorMask); free(xorMask);
} }
} }
// Initialize for remote sessions // Initialize for remote sessions
@ -469,7 +468,6 @@ static void initRemoteSession(void)
{ {
createBlankCursor(); createBlankCursor();
} }
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
@ -749,7 +747,6 @@ int _glfwInitWin32(void)
void _glfwTerminateWin32(void) void _glfwTerminateWin32(void)
{ {
if (_glfw.win32.blankCursor) if (_glfw.win32.blankCursor)
DestroyCursor(_glfw.win32.blankCursor); DestroyCursor(_glfw.win32.blankCursor);

View File

@ -430,7 +430,6 @@ typedef struct _GLFWwindowWin32
// The last received cursor position, regardless of source // The last received cursor position, regardless of source
int lastCursorPosX, lastCursorPosY; int lastCursorPosX, lastCursorPosY;
// The last received high surrogate when decoding pairs of UTF-16 messages // The last received high surrogate when decoding pairs of UTF-16 messages
WCHAR highSurrogate; WCHAR highSurrogate;
} _GLFWwindowWin32; } _GLFWwindowWin32;

View File

@ -951,7 +951,6 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM l
dx = data->data.mouse.lLastX - window->win32.lastCursorPosX; dx = data->data.mouse.lLastX - window->win32.lastCursorPosX;
dy = data->data.mouse.lLastY - window->win32.lastCursorPosY; dy = data->data.mouse.lLastY - window->win32.lastCursorPosY;
} }
} }
else else
{ {
@ -1458,13 +1457,11 @@ static int createNativeWindow(_GLFWwindow* window,
window->win32.transparent = GLFW_TRUE; window->win32.transparent = GLFW_TRUE;
} }
_glfwGetWindowSizeWin32(window, &window->win32.width, &window->win32.height); _glfwGetWindowSizeWin32(window, &window->win32.width, &window->win32.height);
return GLFW_TRUE; return GLFW_TRUE;
} }
GLFWbool _glfwCreateWindowWin32(_GLFWwindow* window, GLFWbool _glfwCreateWindowWin32(_GLFWwindow* window,
const _GLFWwndconfig* wndconfig, const _GLFWwndconfig* wndconfig,
const _GLFWctxconfig* ctxconfig, const _GLFWctxconfig* ctxconfig,
@ -1553,7 +1550,6 @@ void _glfwDestroyWindowWin32(_GLFWwindow* window)
if (window->win32.smallIcon) if (window->win32.smallIcon)
DestroyIcon(window->win32.smallIcon); DestroyIcon(window->win32.smallIcon);
} }
void _glfwSetWindowTitleWin32(_GLFWwindow* window, const char* title) void _glfwSetWindowTitleWin32(_GLFWwindow* window, const char* title)