Re: opengl32: work around a crash in glGetString

2008-06-26 Thread Massimo
I don't understand IF the testcase returns NULL without a context (which should do anyways), both in linux and in windows, and what the patch does is tu ensure that, with no crash, what's bad with it ? In AutoCad's installer it's just called WITHOUT a proper opengl context, in windows it's

opengl32: work around a crash in glGetString

2008-06-26 Thread Louis. Lenders
>As I mentioned before this requires a test case. As i tried to explain , in a simple test glGetString just return null, it will not crash for me, like it does in the program. >I remember from the gl log that the program didn't create a WGL context at >all. It isn't allowed >to make opengl call

Re: opengl32: work around a crash in glGetString

2008-06-26 Thread Roderick Colenbrander
As I mentioned before this requires a test case. I remember from the gl log that the program didn't create a WGL context at all. It isn't allowed to make opengl calls because of that. You should figure out why that is done. Either some other check in the program failed due to which it wasn't ab

RE: opengl32: work around a crash in glGetString

2008-06-26 Thread Stefan Dösinger
Behalf Of Louis. Lenders Sent: Thursday, June 26, 2008 9:06 AM To: [EMAIL PROTECTED] Subject: opengl32: work around a crash in glGetString Hi this fixes http://bugs.winehq.org/show_bug.cgi?id=13599 A +relay trace shows glGetString is crashing inside glGetString. The cause is _not_ a lacking