Comment 9 for bug 648289

Revision history for this message
Peter Clifton (pcjc2) wrote :

II found a fix for this against the Ubuntu maverick package.

Basically, the bug is that you can't call SwapBuffers(); on a GL visual which is not double buffered. On some hardware, it seems the driver is giving out non double-buffered visuals since KiCad isn't asking for one explicitly.

My fix was twofold..

1. Change the #ifdef checks for WX widgets 2,9,0 to wx widgets 2,8,0. The newer API does appear present in the WxWidgets I have here, which alleges to be 2.8

Secondly, request a double buffered visual. I'll attach the patch for testing shortly..