mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
glx: Getting rid of the double assignment in __glXWireToEvent.
Previously the field `event_type` in `GLXPbufferClobberEvent` was assigned twice in succession with different values. Removing the first assignment and retaining only the second one. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30836>
This commit is contained in:
parent
4bf257a18f
commit
27014df366
1 changed files with 1 additions and 2 deletions
|
|
@ -140,9 +140,8 @@ __glXWireToEvent(Display *dpy, XEvent *event, xEvent *wire)
|
|||
{
|
||||
GLXPbufferClobberEvent *aevent = (GLXPbufferClobberEvent *)event;
|
||||
xGLXPbufferClobberEvent *awire = (xGLXPbufferClobberEvent *)wire;
|
||||
aevent->event_type = awire->type;
|
||||
aevent->serial = awire->sequenceNumber;
|
||||
aevent->event_type = awire->event_type;
|
||||
aevent->serial = awire->sequenceNumber;
|
||||
aevent->draw_type = awire->draw_type;
|
||||
aevent->drawable = awire->drawable;
|
||||
aevent->buffer_mask = awire->buffer_mask;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue