Cleanup: clang-format
This commit is contained in:
@@ -1157,7 +1157,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
|
||||
|
||||
if (hwnd) {
|
||||
|
||||
if (msg == WM_NCCREATE) {
|
||||
if (msg == WM_NCCREATE) {
|
||||
// Tell Windows to automatically handle scaling of non-client areas
|
||||
// such as the caption bar. EnableNonClientDpiScaling was introduced in Windows 10
|
||||
HMODULE m_user32 = ::LoadLibrary("User32.dll");
|
||||
|
||||
@@ -1575,7 +1575,6 @@ static void armature_vert_task(void *__restrict userdata,
|
||||
}
|
||||
|
||||
pchan_bone_deform(pchan, weight, vec, dq, smat, co, &contrib);
|
||||
|
||||
}
|
||||
}
|
||||
/* if there are vertexgroups but not groups with bones
|
||||
|
||||
@@ -901,9 +901,9 @@ static void cloth_from_mesh(ClothModifierData *clmd, Mesh *mesh)
|
||||
}
|
||||
}
|
||||
|
||||
/***************************************************************************************
|
||||
* SPRING NETWORK GPU_BATCH_BUILDING IMPLEMENTATION BEGIN
|
||||
***************************************************************************************/
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Spring Network Building Implementation
|
||||
* \{ */
|
||||
|
||||
BLI_INLINE void spring_verts_ordered_set(ClothSpring *spring, int v0, int v1)
|
||||
{
|
||||
@@ -1744,8 +1744,6 @@ static int cloth_build_springs(ClothModifierData *clmd, Mesh *mesh)
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
} /* cloth_build_springs */
|
||||
/***************************************************************************************
|
||||
* SPRING NETWORK GPU_BATCH_BUILDING IMPLEMENTATION END
|
||||
***************************************************************************************/
|
||||
/** \} */
|
||||
|
||||
@@ -34,6 +34,9 @@
|
||||
#define AREATEX_PITCH (AREATEX_WIDTH * 2)
|
||||
#define AREATEX_SIZE (AREATEX_HEIGHT * AREATEX_PITCH)
|
||||
|
||||
/* Don't re-wrap large data definitions. */
|
||||
/* clang-format off */
|
||||
|
||||
/**
|
||||
* Stored in R8G8 format. Load it in the following format:
|
||||
* - DX10: DXGI_FORMAT_R8G8_UNORM
|
||||
@@ -14975,11 +14978,16 @@ static const unsigned char areaTexBytes[] = {
|
||||
0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
/* clang-format on */
|
||||
|
||||
#define SEARCHTEX_WIDTH 64
|
||||
#define SEARCHTEX_HEIGHT 16
|
||||
#define SEARCHTEX_PITCH SEARCHTEX_WIDTH
|
||||
#define SEARCHTEX_SIZE (SEARCHTEX_HEIGHT * SEARCHTEX_PITCH)
|
||||
|
||||
/* Don't re-wrap large data definitions. */
|
||||
/* clang-format off */
|
||||
|
||||
/**
|
||||
* Stored in R8 format. Load it in the following format:
|
||||
* - DX10: DXGI_FORMAT_R8_UNORM
|
||||
@@ -15073,4 +15081,6 @@ static const unsigned char searchTexBytes[] = {
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
|
||||
#endif /* __SMAA_TEXTURES_H__ */
|
||||
/* clang-format off */
|
||||
|
||||
#endif /* __SMAA_TEXTURES_H__ */
|
||||
|
||||
Reference in New Issue
Block a user