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

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
Does this crash occur with Mesa as well? If yes, it might be interesting to step through the Mesa code to see what is going wrong in there. Otherwise, drivers are never bug free of course. This could be a bug in the Nvidia driver From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beh