Re: wined3d:context.c Check for a context is added

2007-12-05 Thread Roderick Colenbrander
We need to check context before than refer it. Changelog: Check for a context is added -- Best regards Anatoly Lyutin. Hi, I'm not sure if your patch is correct. The block of code in front of the if-statement you added should have found or else created a context. If

Re: wined3d:context.c Check for a context is added

2007-12-05 Thread Anatoly Lyutin
Roderick Colenbrander wrote: Hi, Hi! I'm not sure if your patch is correct. The block of code in front of the if-statement you added should have found or else created a context. If afterwards there is no context it sounds like something went wrong. Returning NULL isn't correct then.

Re: wined3d:context.c Check for a context is added

2007-12-05 Thread Stefan Dösinger
Am Mittwoch, 5. Dezember 2007 17:25:55 schrieb Anatoly Lyutin: We need to check context before than refer it. Changelog: Check for a context is added Does that happen to fix any game? The idea was that the activeContext pointer never points to NULL, so a check like that only workaround a