On 26/08/06, Stefan Dösinger stefan@codeweavers.com wrote:
In IWineD3DSurfaceImpl_SaveSnapshot tmpTexture might be uninitialized, which might lead to accidentally binding the 0 texture.
How does initialising it with 0 help then?
Am Sonntag 27 August 2006 01:01 schrieb H. Verbeet:
On 26/08/06, Stefan Dösinger stefan@codeweavers.com wrote:
In IWineD3DSurfaceImpl_SaveSnapshot tmpTexture might be uninitialized, which might lead to accidentally binding the 0 texture.
How does initialising it with 0 help then?
We have a check against != 0 for tmpTexture later on, and if tmpTexture is any random value this check might succeed altough no temporary texture was created.