Re: d3d8/tests: Avoid a crash, when CreateTexture failed
11 Nov
2009
11 Nov
'09
2:16 p.m.
2009/11/6 Henri Verbeet <hverbeet(a)gmail.com>:
If changing the usage makes it work, that's ok. Maybe try just passing 0 for usage. The texture doesn't have to be lockable, all we care about is having a unique texture pointer for the SetTexture()/GetTexture() calls.
I.e., does the attached patch work for you?
11 Nov
11 Nov
11:17 p.m.
New subject: d3d8/tests: Avoid a crash, when CreateTexture failed
On Mi, 2009-11-11 at 15:16 +0100, Henri Verbeet wrote:
I.e., does the attached patch work for you?
yes, with 0 failures :-) d3d9 has the same code (but i cant test d3d9 on my machine). Thanks. Do you want to send the patches yourself? -- By by ... Detlef
5877
Age (days ago)
5877
Last active (days ago)
1 comments
2 participants
participants (2)
-
Detlef Riekenberg -
Henri Verbeet