Browse Source

Fix formatting.

Mario Zechner 1 year ago
parent
commit
831566acf8

+ 3 - 3
spine-sdl/src/spine-sdl-c.c

@@ -75,9 +75,9 @@ void spSkeletonDrawable_draw(spSkeletonDrawable *self, struct SDL_Renderer *rend
 		spSlot *slot = skeleton->drawOrder[i];
 		spSlot *slot = skeleton->drawOrder[i];
 		spAttachment *attachment = slot->attachment;
 		spAttachment *attachment = slot->attachment;
 		if (!attachment) {
 		if (!attachment) {
-            spSkeletonClipping_clipEnd(clipper, slot);
-            continue;
-        }
+			spSkeletonClipping_clipEnd(clipper, slot);
+			continue;
+		}
 
 
 		// Early out if the slot color is 0 or the bone is not active
 		// Early out if the slot color is 0 or the bone is not active
 		if (slot->color.a == 0 || !slot->bone->active) {
 		if (slot->color.a == 0 || !slot->bone->active) {

+ 3 - 3
spine-sdl/src/spine-sdl-cpp.cpp

@@ -71,9 +71,9 @@ void SkeletonDrawable::draw(SDL_Renderer *renderer) {
 		Slot &slot = *skeleton->getDrawOrder()[i];
 		Slot &slot = *skeleton->getDrawOrder()[i];
 		Attachment *attachment = slot.getAttachment();
 		Attachment *attachment = slot.getAttachment();
 		if (!attachment) {
 		if (!attachment) {
-            clipper.clipEnd(slot);
-            continue;
-        }
+			clipper.clipEnd(slot);
+			continue;
+		}
 
 
 		// Early out if the slot color is 0 or the bone is not active
 		// Early out if the slot color is 0 or the bone is not active
 		if (slot.getColor().a == 0 || !slot.getBone().isActive()) {
 		if (slot.getColor().a == 0 || !slot.getBone().isActive()) {

+ 3 - 3
spine-sfml/c/src/spine/spine-sfml.cpp

@@ -169,9 +169,9 @@ namespace spine {
 			spSlot *slot = skeleton->drawOrder[i];
 			spSlot *slot = skeleton->drawOrder[i];
 			spAttachment *attachment = slot->attachment;
 			spAttachment *attachment = slot->attachment;
 			if (!attachment) {
 			if (!attachment) {
-                spSkeletonClipping_clipEnd(clipper, slot);
-                continue;
-            }
+				spSkeletonClipping_clipEnd(clipper, slot);
+				continue;
+			}
 
 
 			// Early out if slot is invisible
 			// Early out if slot is invisible
 			if (slot->color.a == 0 || !slot->bone->active) {
 			if (slot->color.a == 0 || !slot->bone->active) {

+ 3 - 3
spine-sfml/cpp/src/spine/spine-sfml.cpp

@@ -95,9 +95,9 @@ namespace spine {
 			Slot &slot = *skeleton->getDrawOrder()[i];
 			Slot &slot = *skeleton->getDrawOrder()[i];
 			Attachment *attachment = slot.getAttachment();
 			Attachment *attachment = slot.getAttachment();
 			if (!attachment) {
 			if (!attachment) {
-                clipper.clipEnd(slot);
-                continue;
-            }
+				clipper.clipEnd(slot);
+				continue;
+			}
 
 
 			// Early out if the slot color is 0 or the bone is not active
 			// Early out if the slot color is 0 or the bone is not active
 			if (slot.getColor().a == 0 || !slot.getBone().isActive()) {
 			if (slot.getColor().a == 0 || !slot.getBone().isActive()) {