Cleanup
This commit is contained in:
parent
7321b56cad
commit
1de78b2ff9
@ -452,7 +452,6 @@ static void createBlankCursor(void)
|
||||
free(andMask);
|
||||
free(xorMask);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Initialize for remote sessions
|
||||
@ -469,7 +468,6 @@ static void initRemoteSession(void)
|
||||
{
|
||||
createBlankCursor();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
@ -749,7 +747,6 @@ int _glfwInitWin32(void)
|
||||
|
||||
void _glfwTerminateWin32(void)
|
||||
{
|
||||
|
||||
if (_glfw.win32.blankCursor)
|
||||
DestroyCursor(_glfw.win32.blankCursor);
|
||||
|
||||
|
@ -430,7 +430,6 @@ typedef struct _GLFWwindowWin32
|
||||
|
||||
// The last received cursor position, regardless of source
|
||||
int lastCursorPosX, lastCursorPosY;
|
||||
|
||||
// The last received high surrogate when decoding pairs of UTF-16 messages
|
||||
WCHAR highSurrogate;
|
||||
} _GLFWwindowWin32;
|
||||
|
@ -951,7 +951,6 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM l
|
||||
dx = data->data.mouse.lLastX - window->win32.lastCursorPosX;
|
||||
dy = data->data.mouse.lLastY - window->win32.lastCursorPosY;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1458,13 +1457,11 @@ static int createNativeWindow(_GLFWwindow* window,
|
||||
window->win32.transparent = GLFW_TRUE;
|
||||
}
|
||||
|
||||
|
||||
_glfwGetWindowSizeWin32(window, &window->win32.width, &window->win32.height);
|
||||
|
||||
return GLFW_TRUE;
|
||||
}
|
||||
|
||||
|
||||
GLFWbool _glfwCreateWindowWin32(_GLFWwindow* window,
|
||||
const _GLFWwndconfig* wndconfig,
|
||||
const _GLFWctxconfig* ctxconfig,
|
||||
@ -1553,7 +1550,6 @@ void _glfwDestroyWindowWin32(_GLFWwindow* window)
|
||||
|
||||
if (window->win32.smallIcon)
|
||||
DestroyIcon(window->win32.smallIcon);
|
||||
|
||||
}
|
||||
|
||||
void _glfwSetWindowTitleWin32(_GLFWwindow* window, const char* title)
|
||||
|
Loading…
Reference in New Issue
Block a user