Win32: Remove accidental C99

master
Camilla Berglund ago%!(EXTRA string=9 years)
parent d203ccbf5e
commit 5f17b61ff2
  1. 6
      src/win32_window.c

@ -618,12 +618,12 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
if (window->cursorMode == GLFW_CURSOR_DISABLED)
{
if (_glfw.win32.disabledCursorWindow != window)
break;
const int dx = x - window->win32.lastCursorPosX;
const int dy = y - window->win32.lastCursorPosY;
if (_glfw.win32.disabledCursorWindow != window)
break;
_glfwInputCursorPos(window,
window->virtualCursorPosX + dx,
window->virtualCursorPosY + dy);

Loading…
Cancel
Save