image transfer: Add TGA support to image_transfer_new function

This commit is contained in:
Sebastien Ronsse 2016-06-27 17:17:11 +10:00
parent a51a259e58
commit 62b1c5a7af

View File

@ -83,6 +83,12 @@ void *image_transfer_new(enum image_type_enum type)
return rjpeg_alloc();
#else
break;
#endif
case IMAGE_TYPE_TGA:
#ifdef HAVE_RTGA
return rtga_alloc();
#else
break;
#endif
case IMAGE_TYPE_BMP:
#ifdef HAVE_RBMP