Closed GoogleCodeExporter closed 8 years ago
This appearst to be related to a deep-rooted problem in the way we handle COM
objects via our object table. The code for AsEffect() calls the native
AsEffect(),
which returns the same COM object all the time. However our object table
prematurely
Release()'s this instance, destabilizing the native API.
The simple workaround is, as you noted, to not call AsEffect more than once.
This
should involve caching the resulting Effect reference, since the restriction is
for
the lifetime of the EffectPool instance in question.
We will be able to fix this issue more completely when we correct the object
table
problems outlined in bug #359.
Original comment by josh.petrie
on 6 Jan 2009 at 2:35
Original comment by josh.petrie
on 6 Jan 2009 at 2:35
Original comment by josh.petrie
on 6 Jan 2009 at 2:35
Fixed.
Original comment by josh.petrie
on 1 Feb 2009 at 11:08
Original issue reported on code.google.com by
amuylaer...@gmail.com
on 29 Dec 2008 at 10:58