texstore: create texstore table on first access.
authorDave Airlie <airlied@redhat.com>
Wed, 5 Oct 2011 12:18:17 +0000 (13:18 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Oct 2011 12:18:17 +0000 (13:18 +0100)
commit6e1681a2c90690b05bf55c5831ab5f83cb487876
treeaecea260436eef5a0b68fb123930118d7819d45c
parentaf962e11830db02f4f33a69219155d1ddb7c04d0
texstore: create texstore table on first access.

As per Brian's suggestion we can generate this table at first start
to make sure its correct. This is a sad workaround for compilers which
don't support named initialiser. (its 2011).

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/texstore.c