// Note the minus sign that flips browser wheel direction (positive direction scrolls page down) to native wheel direction (positive direction is mouse wheel up)
vardelta=-Browser.getMouseWheelDelta(event);
delta=(delta==0) ? 0 : (delta>0 ? Math.max(delta,1) : Math.min(delta,-1));// Quantize to integer so that minimum scroll is at least +/- 1.
Browser.setCanvasSize(GLFW.active.width,GLFW.active.height,true);// resets the canvas size to counter the aspect preservation of Browser.updateCanvasDimensions
interval=Math.abs(interval);// GLFW uses negative values to enable GLX_EXT_swap_control_tear, which we don't have, so just treat negative and positive the same.