Mesa generates BadMatch error when making context current with no drawable
Submitted by Alan Hourihane
Assigned to mes..@..op.org
Description
With the advent of GLX_ARB_create_context(_profile) the specification allows a context to be bound without a read/write drawable when the OpenGL version requested is 3.0 or higher.
Unfortunately the GLX code, and potientially other side effects won't allow this as MakeContextCurrent() will generate a BadMatch error when binding a context to NULL drawables.
Version: git