Kaynağa Gözat

glx: replace assertion with conditional

See fd.o bug 26832.
tags/7.8-rc1
Brian Paul 15 yıl önce
ebeveyn
işleme
5f40a7aed1
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2
    2
      src/glx/glx_pbuffer.c

+ 2
- 2
src/glx/glx_pbuffer.c Dosyayı Görüntüle

@@ -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…
İptal
Kaydet