non-empty attrib_list for glXCreateContextAttribsARB

empty list is legal but causes bogus context on at least i915

BUG: 321843
REVIEW: 111355
FIXED-IN: 4.11
This commit is contained in:
Thomas Lübking 2013-07-01 20:38:40 +02:00
parent 5bd49bfee2
commit 3ad47552d0

View file

@ -169,6 +169,8 @@ bool GlxBackend::initRenderingContext()
};
const int attribs_legacy[] = {
GLX_CONTEXT_MAJOR_VERSION_ARB, 1,
GLX_CONTEXT_MINOR_VERSION_ARB, 2,
0
};