In Effect9.cpp, Effect::StateManager::set calls delete on shim instead of
Release although shim is a ref counted object. This causes an access violation
when the DirectX effect tries to release its pointer to the manager.
In addition, passing nullptr as the method parameter is not correctly
supported. In this case, no wrapper object must be created. Otherwise the next
time the effect uses the state manager, the state manager will use its wrapped
pointer (which is null) to query for state changes which causes a null pointer
exception.
Original issue reported on code.google.com by a...@ventuz.com on 19 Jul 2011 at 1:15
Original issue reported on code.google.com by
a...@ventuz.com
on 19 Jul 2011 at 1:15Attachments: