Re: [Mesa-dev] [PATCH 2/2] egl: improve attribute checking for eglCreateContext

2015-08-13 Thread Emil Velikov
On 12 August 2015 at 18:53, Matt Turner wrote: > On Wed, Aug 12, 2015 at 8:36 AM, Frank Binns wrote: >> The EGL 1.4 spec states for eglCreateContext: >> >> "attribute EGL_CONTEXT_CLIENT_VERSION is only valid when the current >> rendering API is EGL_OPENGL_ES_API" >> >> Additional

Re: [Mesa-dev] [PATCH 2/2] egl: improve attribute checking for eglCreateContext

2015-08-12 Thread Matt Turner
On Wed, Aug 12, 2015 at 8:36 AM, Frank Binns wrote: > The EGL 1.4 spec states for eglCreateContext: > > "attribute EGL_CONTEXT_CLIENT_VERSION is only valid when the current > rendering API is EGL_OPENGL_ES_API" > > Additionally, if the EGL_KHR_create_context EGL extension is suppo

[Mesa-dev] [PATCH 2/2] egl: improve attribute checking for eglCreateContext

2015-08-12 Thread Frank Binns
The EGL 1.4 spec states for eglCreateContext: "attribute EGL_CONTEXT_CLIENT_VERSION is only valid when the current rendering API is EGL_OPENGL_ES_API" Additionally, if the EGL_KHR_create_context EGL extension is supported (this is mandatory in EGL 1.5) then the EGL_CONTEXT_MAJOR_