mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens().
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 11 May 2010 20:27:05 +0000 (21:27 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 11 May 2010 20:27:22 +0000 (21:27 +0100)
commitedbc302ad678e1a4a8803ba0e827a13dd27105d2
treedee45022dda3a3f60d62f37328003ef835f7ac47
parent48f8a76549aa2001090c7a5e1fa40891954ff01f
mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens().

This fixes crashes with the memory debugging routines on Windows.

NOTE: This is a candidate for the 7.8 stable branch
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/auxiliary/tgsi/tgsi_ureg.h
src/mesa/state_tracker/st_cb_drawpixels.c