glx: Trim trailing spaces in in glx/glxext.c
authorYonggang Luo <luoyonggang@gmail.com>
Thu, 22 Sep 2022 09:22:40 +0000 (17:22 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Oct 2022 17:06:10 +0000 (17:06 +0000)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18749>

src/glx/glxext.c

index 927d065..e1aa475 100644 (file)
@@ -125,7 +125,7 @@ static /* const */ char *error_list[] = {
 };
 
 #ifdef GLX_USE_APPLEGL
-static char *__glXErrorString(Display *dpy, int code, XExtCodes *codes, 
+static char *__glXErrorString(Display *dpy, int code, XExtCodes *codes,
                               char *buf, int n);
 #endif
 
@@ -376,8 +376,8 @@ QueryVersion(Display * dpy, int opcode, int *major, int *minor)
    return GL_TRUE;
 }
 
-/* 
- * We don't want to enable this GLX_OML_swap_method in glxext.h, 
+/*
+ * We don't want to enable this GLX_OML_swap_method in glxext.h,
  * because we can't support it.  The X server writes it out though,
  * so we should handle it somehow, to avoid false warnings.
  */
@@ -462,7 +462,7 @@ __glXInitializeVisualConfigFromTags(struct glx_config * config, int count,
 
    for (i = 0; i < count; i += 2) {
       long int tag = *bp++;
-      
+
       switch (tag) {
       case GLX_RGBA:
          if (fbconfig_style_tags)
@@ -546,7 +546,7 @@ __glXInitializeVisualConfigFromTags(struct glx_config * config, int count,
          config->drawableType = *bp++;
 #ifdef GLX_USE_APPLEGL
          /* AppleSGLX supports pixmap and pbuffers with all config. */
-         config->drawableType |= GLX_WINDOW_BIT | GLX_PIXMAP_BIT | GLX_PBUFFER_BIT;              
+         config->drawableType |= GLX_WINDOW_BIT | GLX_PIXMAP_BIT | GLX_PBUFFER_BIT;
 #endif
          break;
       case GLX_RENDER_TYPE: /* fbconfig render type bits */
@@ -678,7 +678,7 @@ createConfigsFromProperties(Display * dpy, int nvisuals, int nprops,
        /* Older X servers don't send this so we default it here. */
       m->drawableType = GLX_WINDOW_BIT;
 #else
-      /* 
+      /*
        * The XQuartz 2.3.2.1 X server doesn't set this properly, so
        * set the proper bits here.
        * AppleSGLX supports windows, pixmaps, and pbuffers with all config.