Mesa (master): egl: fix whitespace issues from eglimage code
Tapani Pälli
tpalli at kemper.freedesktop.org
Tue Jul 25 09:55:37 UTC 2017
Module: Mesa
Branch: master
Commit: 3392026866e00a8d663b001d4240fc292d27319a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3392026866e00a8d663b001d4240fc292d27319a
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Mon Jul 24 14:10:50 2017 +0300
egl: fix whitespace issues from eglimage code
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
---
src/egl/main/eglimage.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c
index 72a556e8db..46bf0c50f0 100644
--- a/src/egl/main/eglimage.c
+++ b/src/egl/main/eglimage.c
@@ -41,7 +41,7 @@ _eglParseKHRImageAttribs(_EGLImageAttribs *attrs, _EGLDisplay *dpy,
switch (attr) {
case EGL_IMAGE_PRESERVED_KHR:
if (!dpy->Extensions.KHR_image_base)
- return EGL_BAD_PARAMETER;
+ return EGL_BAD_PARAMETER;
attrs->ImagePreserved = val;
break;
@@ -144,9 +144,9 @@ _eglParseEXTImageDmaBufImportAttribs(_EGLImageAttribs *attrs, _EGLDisplay *dpy,
attrs->DMABufPlanePitches[0].IsPresent = EGL_TRUE;
break;
case EGL_DMA_BUF_PLANE1_FD_EXT:
- attrs->DMABufPlaneFds[1].Value = val;
- attrs->DMABufPlaneFds[1].IsPresent = EGL_TRUE;
- break;
+ attrs->DMABufPlaneFds[1].Value = val;
+ attrs->DMABufPlaneFds[1].IsPresent = EGL_TRUE;
+ break;
case EGL_DMA_BUF_PLANE1_OFFSET_EXT:
attrs->DMABufPlaneOffsets[1].Value = val;
attrs->DMABufPlaneOffsets[1].IsPresent = EGL_TRUE;
@@ -288,30 +288,30 @@ _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy,
err = _eglParseKHRImageAttribs(attrs, dpy, attr, val);
if (err == EGL_SUCCESS)
- continue;
+ continue;
err = _eglParseMESADrmImageAttribs(attrs, dpy, attr, val);
if (err == EGL_SUCCESS)
- continue;
+ continue;
err = _eglParseWLBindWaylandDisplayAttribs(attrs, dpy, attr, val);
if (err == EGL_SUCCESS)
- continue;
+ continue;
err = _eglParseEXTImageDmaBufImportAttribs(attrs, dpy, attr, val);
if (err == EGL_SUCCESS)
- continue;
+ continue;
/* EXT_image_dma_buf_import states that if invalid value is provided for
* its attributes, we should return EGL_BAD_ATTRIBUTE.
* Bail out ASAP, since follow-up calls can return another EGL_BAD error.
*/
if (err == EGL_BAD_ATTRIBUTE)
- return _eglError(err, __func__);
+ return _eglError(err, __func__);
err = _eglParseEXTImageDmaBufImportModifiersAttribs(attrs, dpy, attr, val);
if (err == EGL_SUCCESS)
- continue;
+ continue;
return _eglError(err, __func__);
}
More information about the mesa-commit
mailing list