Re: [PATCH] ddraw: Grow indexbuffer as needed (now with overflow check)
June 24, 2010
4:07 a.m.
Am 23.06.2010 um 21:57 schrieb Mikko Rasa:
+ if(!size) + { + ERR("UINT overflow while trying to grow indexbuffer to hold %u indices\n", IndexCount); + return D3DERR_TOOMANYPRIMITIVES; + } + } You have to release the ddraw lock before returning from the function(LeaveCriticalSection(&ddraw_cs))
5753
Age (days ago)
5753
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Dösinger