Skip to content
Snippets Groups Projects
Commit cc87d5ab authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot Committed by Camilla Löwy
Browse files

Wayland: Assert that we only get a known axis

parent 25cf6766
Branches
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@
#include "internal.h"
#include <assert.h>
#include <linux/input.h>
#include <stdio.h>
#include <stdlib.h>
......@@ -152,6 +153,7 @@ static void pointerHandleAxis(void* data,
y = wl_fixed_to_double(value) * scrollFactor;
break;
default:
assert(GLFW_FALSE);
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment