make Draw_FreePic set pic->tex to NULL to prevent reuse of invalid texture
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 14 Dec 2009 22:41:55 +0000 (22:41 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 14 Dec 2009 22:41:55 +0000 (22:41 +0000)
commit7d106fd945d8aae37e63b2c4284c524114bfa0f3
treed7aa250d8161ff7b75df597ec797253f928506ff
parentb4f27ddf07c8b4e6a4116c8334336f8d8ebe78d2
make Draw_FreePic set pic->tex to NULL to prevent reuse of invalid texture

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9586 d7cf8633-e32d-0410-b094-e92efae38249
gl_draw.c