Ver código fonte

glx: replace assertion with conditional

See fd.o bug 26832.
tags/7.8-rc1
Brian Paul 15 anos atrás
pai
commit
5f40a7aed1
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      src/glx/glx_pbuffer.c

+ 2
- 2
src/glx/glx_pbuffer.c Ver arquivo

@@ -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();

Carregando…
Cancelar
Salvar