]> Pileus Git - grits/commit
Fix crash while initializing OpenGL context
authorAndy Spencer <andy753421@gmail.com>
Sat, 15 Dec 2012 06:55:33 +0000 (06:55 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 15 Dec 2012 06:55:33 +0000 (06:55 +0000)
commit9bcf411430cca69197a7756c1ce8ca925456cc93
treec61253104f2a23d2f0d75ba934c754a00a9867a0
parent8c7994f58481044abf01f706accb734340ab6971
Fix crash while initializing OpenGL context

GL was crashing with a BadAlloc, this seems to be related to the Intel
graphics drivers when using indirect rendering. Using a direct rendering
context fixes the problem, however we can at least attempt both way if
one or the other fails.
src/gtkgl.c