mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 14:08:05 +02:00
glx: replace assertion with conditional
See fd.o bug 26832.
This commit is contained in:
parent
4ca70c489b
commit
5f40a7aed1
1 changed files with 2 additions and 2 deletions
|
|
@ -379,8 +379,8 @@ CreateDrawable(Display * dpy, const __GLcontextModes * fbconfig,
|
|||
req->glxwindow = (GLXWindow) XAllocID(dpy);
|
||||
req->numAttribs = (CARD32) i;
|
||||
|
||||
assert(attrib_list);
|
||||
memcpy(data, attrib_list, 8 * i);
|
||||
if (attrib_list)
|
||||
memcpy(data, attrib_list, 8 * i);
|
||||
|
||||
UnlockDisplay(dpy);
|
||||
SyncHandle();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue