On Wed, Nov 24, 2010 at 11:37 PM, Henri Verbeet hverbeet@gmail.com wrote:
On 24 November 2010 23:34, Matijn Woudt tijnema@gmail.com wrote:
That's what I had in mind first too, but I couldn't figure out how to get that handle over to device_init (in d3d9) where the window is used too.
Why do you need it there?
The current code is using the window, I guess it wouldn't work if focus_window is still pointing to the main device context. I might be missing something here, but I don't see how this can possibly work.