Re: WineD3D: RemoveContextFromArray fix (fixes bug 12924)
3 May
2008
3 May
'08
6:34 p.m.
Am Samstag, 3. Mai 2008 20:23:17 schrieb Roderick Colenbrander:
Hi,
RemoveContextFromArray forgot to check the last element in the array. This led to memory corruption (bug 12924) where wined3d started removing a pbuffer where none was created at all. This patch fixes it. The original bug was spotted by Peter Oberndorfer and for him a similar fixed some other program not sure which. Maybe a comment would be helpful, reminding the reader that This->numContexts was decremented already and thus the <= is used. It took me a while to figure that out when reading the patch
6522
Age (days ago)
6522
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Dösinger