Enable building of glfw-wayland backend

This commit is contained in:
Kovid Goyal
2017-11-21 06:07:41 +05:30
parent 9ec6cf721f
commit 85fcd51ea3
5 changed files with 42 additions and 5 deletions

2
glfw/wl_init.c vendored
View File

@@ -131,7 +131,7 @@ static void pointerHandleAxis(void* data,
{
_GLFWwindow* window = _glfw.wl.pointerFocus;
double scrollFactor;
double x, y;
double x = 0.0, y = 0.0;
if (!window)
return;