Check for core OpenGL versions, not just extensions.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 8 Mar 2014 16:57:33 +0000 (17:57 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 9 Mar 2014 00:44:12 +0000 (01:44 +0100)
commitcf3b8245a92407da567cf8843335911dd1a0da23
treefc521085a597ae3d2e6c8fcaeb53c3a43906d9b1
parent7f1c8bb8b3ce08b94054f0a8990e5b8225d36036
Check for core OpenGL versions, not just extensions.

Several extensions have been accepted over the years into the core OpenGL
spec, and occasionally, we might see a situation where something implements
the core spec but _not_ the extension. In particular, some extensions seem
to disappear when we ask Mesa for an OpenGL 3.1 forward-compatible context.
init.cpp