X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=image.c;h=366e80dd8380c16211b0e2f617f074846127b0c8;hb=4705a94a33f9d320ee8db58f91c1bf01ea3fbbd4;hp=4f85e83e43281148ab1be7af31913e56ce77f888;hpb=b2427428a2f7b6009db88dfc75260fab61bc20a7;p=xonotic%2Fdarkplaces.git diff --git a/image.c b/image.c index 4f85e83e..366e80dd 100644 --- a/image.c +++ b/image.c @@ -537,8 +537,6 @@ unsigned char *LoadTGA_BGRA (const unsigned char *f, int filesize, int *miplevel row_inci = 0; } - x = 0; - y = 0; pix_inc = 1; if ((targa_header.image_type & ~8) == 2) pix_inc = (targa_header.pixel_size + 7) / 8;