http://bugs.winehq.org/show_bug.cgi?id=15033
Jeff Zaroyko jeffzaroyko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #15770|0 |1 is obsolete| |
--- Comment #3 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-09-01 06:32:26 --- Created an attachment (id=15770) --> (http://bugs.winehq.org/attachment.cgi?id=15770) proposed patch
--- Comment #4 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-09-03 06:24:21 --- Created an attachment (id=15803) --> (http://bugs.winehq.org/attachment.cgi?id=15803) fixed both the memory leak and a performance regression
HeapAlloc is too slow for this function, it causes a noticable drop in framerate. Allocating an automatic array SHADER_PGMSIZE in length fixes this.