зеркало из https://github.com/AvaloniaUI/angle.git
Fix GCC build
Change-Id: I30e6e8d82821ed86cc7f53a48b1b23fc0cbf060c Reviewed-on: https://chromium-review.googlesource.com/446866 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Родитель
200db9dcb5
Коммит
61f0db8e3e
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче