cleanup: macro whitespace \ alignment
Gotta be careful mixing tabs & spaces. This commit uses 4-space indent
to align the line continuation markers.
Follow-up to 3b52c4056a
This commit is contained in:
parent
8f509698d7
commit
14e47472fe
|
@ -2820,13 +2820,13 @@ static void ccgDM_drawMappedFacesGLSL(DerivedMesh *dm,
|
|||
int matnr = -1;
|
||||
int do_draw = 0;
|
||||
|
||||
#define PASSATTRIB(dx, dy, vert) { \
|
||||
if (attribs.totorco) \
|
||||
index = getFaceIndex(ss, f, S, x + dx, y + dy, edgeSize, gridSize); \
|
||||
else \
|
||||
index = 0; \
|
||||
DM_draw_attrib_vertex(&attribs, a, index, vert, ((a) * 4) + vert); \
|
||||
DM_draw_attrib_vertex_uniforms(&attribs); \
|
||||
#define PASSATTRIB(dx, dy, vert) { \
|
||||
if (attribs.totorco) \
|
||||
index = getFaceIndex(ss, f, S, x + dx, y + dy, edgeSize, gridSize); \
|
||||
else \
|
||||
index = 0; \
|
||||
DM_draw_attrib_vertex(&attribs, a, index, vert, ((a) * 4) + vert); \
|
||||
DM_draw_attrib_vertex_uniforms(&attribs); \
|
||||
} (void)0
|
||||
|
||||
totpoly = ccgSubSurf_getNumFaces(ss);
|
||||
|
@ -3223,13 +3223,13 @@ static void ccgDM_drawMappedFacesMat(DerivedMesh *dm,
|
|||
|
||||
matnr = -1;
|
||||
|
||||
#define PASSATTRIB(dx, dy, vert) { \
|
||||
if (attribs.totorco) \
|
||||
index = getFaceIndex(ss, f, S, x + dx, y + dy, edgeSize, gridSize); \
|
||||
else \
|
||||
index = 0; \
|
||||
DM_draw_attrib_vertex(&attribs, a, index, vert, ((a) * 4) + vert); \
|
||||
DM_draw_attrib_vertex_uniforms(&attribs); \
|
||||
#define PASSATTRIB(dx, dy, vert) { \
|
||||
if (attribs.totorco) \
|
||||
index = getFaceIndex(ss, f, S, x + dx, y + dy, edgeSize, gridSize); \
|
||||
else \
|
||||
index = 0; \
|
||||
DM_draw_attrib_vertex(&attribs, a, index, vert, ((a) * 4) + vert); \
|
||||
DM_draw_attrib_vertex_uniforms(&attribs); \
|
||||
} (void)0
|
||||
|
||||
totface = ccgSubSurf_getNumFaces(ss);
|
||||
|
|
Loading…
Reference in New Issue