Browse Source

st/glx: Set the drawable attribute on xmesa_buffer creation.

Otherwise we'll be unable to use our pbuffers.
tags/mesa-8.0-rc1
Stephen White 14 years ago
parent
commit
cd9627777c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/state_trackers/glx/xlib/xm_api.c

+ 1
- 1
src/gallium/state_trackers/glx/xlib/xm_api.c View File

if (!b) if (!b)
return NULL; return NULL;


b->ws.drawable = d;
b->ws.drawable = b->drawable = d;
b->ws.visual = vis->visinfo->visual; b->ws.visual = vis->visinfo->visual;
b->ws.depth = vis->visinfo->depth; b->ws.depth = vis->visinfo->depth;



Loading…
Cancel
Save