]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Clear the skybox textures on map load. Use memset to clear skyname.
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 16 May 2020 19:37:37 +0000 (19:37 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 16 May 2020 19:37:37 +0000 (19:37 +0000)
commit745f52947afd0a413187753cae8459fbc8f9d81d
tree6737663b99ea2f72e24da1f6fc3089c8bda1b804
parent1c94b2c6b257c6ab8ce99ab053822c8b8d19bdf1
Clear the skybox textures on map load. Use memset to clear skyname.

This fixes an issue where the skybox textures of the first map you load
stick around in subsequent maps. There was a missing call to
R_SkinFrame_PurgeSkinFrame. Also use memset to clear skyname for good
measure. This may not have actually been part of the bug but it's harmless
and it wasn't clearing the entire array previously.

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