Fix glXMakeCurrent failing on ATI drivers
Merge pull request #62 from tomaka/fix-ati-issue

Fix glXMakeCurrent failing on ATI drivers