Re: DDraw->WineD3D refcounting hack

2006-03-10 Thread Stefan Dösinger
> You could have a function to explicitly destroy the object, regardless > of reference count. However, I think that one already got mentioned > last time :-) :-) Yes, that was mentioned, and indeed I have one internal function, mainly for code readability. The problem is that I can't destroy the

Re: DDraw->WineD3D refcounting hack

2006-03-09 Thread H. Verbeet
On 09/03/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: > Is such a thing acceptable for Wine? Does anyone have a better solution? If > you need some code to look at, I'll upload an updated patch to my homepage > later. You could have a function to explicitly destroy the object, regardless of refer

DDraw->WineD3D refcounting hack

2006-03-09 Thread Stefan Dösinger
Hello, I have a a question regarding some code that might be rejected by Alexandre when I submit it. The problem is that I have to do an refcount hack in my new ddraw code to destroy textures properly. I CC this mail to AJ because it's him who has the last word ;) WineD3D and Direct3D7 have dif