[Mesa-dev] [PATCH 06/15] egl: fix setting context flags
Marek Olšák
maraeo at gmail.com
Fri May 15 08:11:44 PDT 2015
Yes, I'll add the Cc note.
Marek
On Fri, May 15, 2015 at 12:40 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 12/05/15 22:54, Marek Olšák wrote:
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> ---
>> src/egl/main/eglcontext.c | 5 +++--
>> 1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/egl/main/eglcontext.c b/src/egl/main/eglcontext.c
>> index 514b91a..e50b8fb 100644
>> --- a/src/egl/main/eglcontext.c
>> +++ b/src/egl/main/eglcontext.c
>> @@ -131,7 +131,7 @@ _eglParseContextAttribList(_EGLContext *ctx, _EGLDisplay *dpy,
>> break;
>> }
>>
>> - ctx->Flags = val;
>> + ctx->Flags |= val;
>> break;
>>
>> case EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR:
>> @@ -194,7 +194,8 @@ _eglParseContextAttribList(_EGLContext *ctx, _EGLDisplay *dpy,
>> break;
>> }
>>
>> - ctx->Flags = EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR;
>> + if (val == EGL_TRUE)
>> + ctx->Flags |= EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR;
> Not a high priority but this seems like a stable material ?
>
> -Emil
More information about the mesa-dev
mailing list