commit | e853ade5441e8bf8f862ecf379c231cb439c5c00 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Wed Apr 09 11:35:54 2014 -0600 |
committer | Brian Paul <brianp@vmware.com> | Wed Apr 09 12:02:03 2014 -0600 |
tree | 2bf7e0cdf4b17c91258f905f756cccf4359eb01f | |
parent | 26ae030fcc364a4cfcdec0cbac2ca87d096c6cd0 [diff] |
svga: move LIST_INITHEAD(dirty_buffers) earlier in svga_context_create() Fixes a crash in svga_context_flush_buffers() if we use the 'draw' module for AA lines (when the device doesn't support that feature). We need to initialize this list before we setup the swtnl pieces. Found/fixed by Charmaine Lee. Cc: "10.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>