From 421777dd3abd93340fbd39ccccca53c1f7254610 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 26 Oct 2022 15:37:31 -0600 Subject: [PATCH] glx: clean-ups in create_context.c Replace tabs w/ spaces, remove trailing whitespace. Signed-off-by: Brian Paul Reviewed-by: Adam Jackson Part-of: --- src/glx/create_context.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/glx/create_context.c b/src/glx/create_context.c index c44d579..4713216 100644 --- a/src/glx/create_context.c +++ b/src/glx/create_context.c @@ -43,8 +43,8 @@ _X_HIDDEN GLXContext glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, - GLXContext share_context, Bool direct, - const int *attrib_list) + GLXContext share_context, Bool direct, + const int *attrib_list) { xcb_connection_t *const c = XGetXCBConnection(dpy); struct glx_config *const cfg = (struct glx_config *) config; @@ -66,7 +66,7 @@ glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, */ if (attrib_list != NULL) { for (/* empty */; attrib_list[num_attribs * 2] != 0; num_attribs++) - /* empty */ ; + /* empty */ ; } if (cfg) { @@ -107,8 +107,8 @@ glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, * will be delivered to the application. */ gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs, - (const uint32_t *) attrib_list, - &dummy_err); + (const uint32_t *) attrib_list, + &dummy_err); } if (gc == NULL) { @@ -134,14 +134,14 @@ glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, */ cookie = xcb_glx_create_context_attribs_arb_checked(c, - xid, - cfg ? cfg->fbconfigID : 0, - screen, - share_xid, - gc ? gc->isDirect : direct, - num_attribs, - (const uint32_t *) - attrib_list); + xid, + cfg ? cfg->fbconfigID : 0, + screen, + share_xid, + gc ? gc->isDirect : direct, + num_attribs, + (const uint32_t *) + attrib_list); err = xcb_request_check(c, cookie); if (err != NULL) { if (gc) -- 2.7.4