From 40abffb295de49818e6f544fe8a5392e1726b3c8 Mon Sep 17 00:00:00 2001 From: Andres Gomez Date: Fri, 2 Mar 2018 13:28:28 +0200 Subject: [PATCH] egl: remove duplicated initialization MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Found by inspection. The line removed is a duplicate of the line literally just above the the 3 lines context usually printed in a commit log. v2: enhance the commit log (Emil). Cc: Ian Romanick Cc: Emil Velikov Cc: Eric Engestrom Signed-off-by: Andres Gomez Reviewed-by: Tapani Pälli Reviewed-by: Eric Engestrom Reviewed-by: Emil Velikov --- src/egl/main/eglcontext.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/egl/main/eglcontext.c b/src/egl/main/eglcontext.c index 18c1bc59acc..3e5d8ad97bf 100644 --- a/src/egl/main/eglcontext.c +++ b/src/egl/main/eglcontext.c @@ -594,7 +594,6 @@ _eglInitContext(_EGLContext *ctx, _EGLDisplay *dpy, _EGLConfig *conf, ctx->ClientMajorVersion = 1; /* the default, per EGL spec */ ctx->ClientMinorVersion = 0; ctx->Flags = 0; - ctx->Profile = EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR; ctx->ResetNotificationStrategy = EGL_NO_RESET_NOTIFICATION_KHR; ctx->ContextPriority = EGL_CONTEXT_PRIORITY_MEDIUM_IMG; ctx->ReleaseBehavior = EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR; -- 2.30.2