[Bf-blender-cvs] [88e774aa34c] master: Cleanup: workaround for unstable formatting in clang-format
Campbell Barton
noreply at git.blender.org
Fri Jul 30 14:07:50 CEST 2021
Commit: 88e774aa34c8ffd90c7bc7e71d3bc290d78b4f2d
Author: Campbell Barton
Date: Fri Jul 30 21:55:23 2021 +1000
Branches: master
https://developer.blender.org/rB88e774aa34c8ffd90c7bc7e71d3bc290d78b4f2d
Cleanup: workaround for unstable formatting in clang-format
Running multiple times would re-indent differently.
===================================================================
M intern/ghost/intern/GHOST_ContextWGL.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_ContextWGL.cpp b/intern/ghost/intern/GHOST_ContextWGL.cpp
index 3d1b78f864f..b412e52a5f7 100644
--- a/intern/ghost/intern/GHOST_ContextWGL.cpp
+++ b/intern/ghost/intern/GHOST_ContextWGL.cpp
@@ -480,10 +480,10 @@ int GHOST_ContextWGL::choose_pixel_format(bool stereoVisual, bool needAlpha)
(stereoVisual ? PFD_STEREO : 0) | /* support stereo */
(
#ifdef WIN32_COMPOSITING
- needAlpha ? PFD_SUPPORT_COMPOSITION : /* support composition for transparent
- background */
+ /* Support composition for transparent background. */
+ needAlpha ? PFD_SUPPORT_COMPOSITION :
#endif
- 0)),
+ 0)),
PFD_TYPE_RGBA, /* color type */
(BYTE)(needAlpha ? 32 : 24), /* preferred color depth */
0,
More information about the Bf-blender-cvs
mailing list