Hi, Emil: > > On 25 March 2015 at 08:05, Xiong Zhang <xiong.y.zh...@intel.com> wrote: > > > GLX_ARB_create_context spec says: > > > If either <draw> or <read> are not a valid GLX drawable, a > > > GLXBadDrawable error is generated, unless <draw> and <read> are both > > > None and the OpenGL version supported by <ctx> is 3.0 or greater. > > > > > > So when both <draw> and <read> are None, it could pass NULL drawable > > > into driver instead of returing GLXBadDrawable. > > > > > I'm a bit fresh in the area, but where do we check that the OpenGL > > version supported is 3.0 or greater ? Is there an assumption that all > > dri2/3 modules support it ? > > [Zhang, Xiong Y] the patch lack of checking of OpenGL version >= 3.0, I will > add it.
[Zhang, Xiong Y] Since GL version is determined by dri drivers like i965, swrast, how could I get GL version in glx code ? Could you give me an extension example that how to implement gl version check in glx / egl code ? thanks > > > > Cheers > > Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev