diff --git a/src/hardware/hw_md2.c b/src/hardware/hw_md2.c
index c336e7bb3551035e55b3ec0baebd83161976cc7a..6a315d88171b61b50371c89731a6d3a2d6b2879e 100644
--- a/src/hardware/hw_md2.c
+++ b/src/hardware/hw_md2.c
@@ -1107,8 +1107,8 @@ spritemd2found:
 static void HWR_CreateBlendedTexture(GLPatch_t *gpatch, GLPatch_t *blendgpatch, GLMipmap_t *grmip, skincolors_t color)
 {
 	UINT16 w = gpatch->width, h = gpatch->height;
-    UINT32 size = w*h;
-    RGBA_t *image, *blendimage, *cur, blendcolor;
+	UINT32 size = w*h;
+	RGBA_t *image, *blendimage, *cur, blendcolor;
 
 	if (grmip->width == 0)
 	{