mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
glx: replace assertion with conditional
See fd.o bug 26832.
This commit is contained in:
parent
cf8af9bcf1
commit
72d380b363
1 changed files with 2 additions and 1 deletions
|
|
@ -385,7 +385,8 @@ CreateDrawable(Display * dpy, const __GLcontextModes * fbconfig,
|
|||
req->glxwindow = (GLXWindow) XAllocID(dpy);
|
||||
req->numAttribs = (CARD32) i;
|
||||
|
||||
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