From 3ad47552d020c5f02feb7cc5f3d33ac69dad81bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 1 Jul 2013 20:38:40 +0200 Subject: [PATCH] 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 --- glxbackend.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glxbackend.cpp b/glxbackend.cpp index 4325f8ed5e..6f1185feed 100644 --- a/glxbackend.cpp +++ b/glxbackend.cpp @@ -169,6 +169,8 @@ bool GlxBackend::initRenderingContext() }; const int attribs_legacy[] = { + GLX_CONTEXT_MAJOR_VERSION_ARB, 1, + GLX_CONTEXT_MINOR_VERSION_ARB, 2, 0 };