Hi Bruno,

My initial feeling is that the app is just buggy, since calling functions without a context is very questionable. Assuming we want to any checking on NULL-contexts, please edit the make_opengl script since opengl_norm.c is all auto-generated. Since this code is tricky, I would recommend writing a test case for our test suite. Years ago (pre-wine 1.0) we had code to keep some implicit GL context around, because allegedly some game required it (I think it was Homeland). Though when I tried to reproduce that behavior I didn't see it in the game. I think I wrote some tests for Windows, but don't remember the results.

Thanks,
Roderick


On Sat, Jun 21, 2014 at 11:36 AM, Bruno Jesus <00cpxxx@gmail.com> wrote:
Very similar to bug 36506 but for other functions.

Fixes bug http://bugs.winehq.org/show_bug.cgi?id=34847