]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Fix a crash on Doombringer duel5.bsp where one of the lights has more than 32768...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 1 May 2018 06:48:05 +0000 (06:48 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 1 May 2018 06:48:05 +0000 (06:48 +0000)
commit46964b3848eb7471d2f0e2284ae389b4b53337c1
tree5748012bcee11c26c2e1da4297e201a47393fe64
parent086c6c4f1ccdafa4e305eb0903f5570361594c20
Fix a crash on Doombringer duel5.bsp where one of the lights has more than 32768 triangles - this was using more than one shadowmesh and the sidetotals code was written incorrectly to assume there is a single shadowmesh per light - so now shadowmeshes are preallocated large enough for the entire model, to ensure there is only one.

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