Commit 61f0db8e by Tom Anderson Committed by Commit Bot

Fix GCC build

Change-Id: I30e6e8d82821ed86cc7f53a48b1b23fc0cbf060c Reviewed-on: https://chromium-review.googlesource.com/446866Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 200db9dc
......@@ -24,8 +24,8 @@ GLuint SetupSimpleScaleAndOffsetProgram();
// Returns buffer ID filled with 2-component triangle coordinates. The buffer is left as bound.
// Generates triangles like this with 2-component coordinates:
// A
// / \
// / \
// / \.
// / \.
// B-----C
GLuint Create2DTriangleBuffer(size_t numTris, GLenum usage);
......
......@@ -394,7 +394,6 @@ void X11Window::processEvent(const XEvent &xEvent)
{
Event event;
MouseButton button = MOUSEBUTTON_UNKNOWN;
int wheelX = 0;
int wheelY = 0;
// The mouse wheel updates are sent via button events.
......@@ -407,10 +406,8 @@ void X11Window::processEvent(const XEvent &xEvent)
wheelY = -1;
break;
case 6:
wheelX = 1;
break;
case 7:
wheelX = -1;
break;
case Button1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment