Mesa (master): egl: remove duplicated initialization
Andres Gomez
tanty at kemper.freedesktop.org
Mon Mar 5 13:57:42 UTC 2018
Module: Mesa
Branch: master
Commit: 40abffb295de49818e6f544fe8a5392e1726b3c8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=40abffb295de49818e6f544fe8a5392e1726b3c8
Author: Andres Gomez <agomez at igalia.com>
Date: Fri Mar 2 13:28:28 2018 +0200
egl: remove duplicated initialization
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 <ian.d.romanick at intel.com>
Cc: Emil Velikov <emil.velikov at collabora.com>
Cc: Eric Engestrom <eric.engestrom at imgtec.com>
Signed-off-by: Andres Gomez <agomez at igalia.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
---
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 18c1bc59ac..3e5d8ad97b 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;
More information about the mesa-commit
mailing list