#define STB_IMAGE_IMPLEMENTATION
#define NBVTF_SHOW_STDERR
+#define NBVTF_AS_SO
#include "nbvtf.h"
// Find file path extension, returns NULL if no ext (0x00)
printf( "tovtf: Creating vtf with format '%s'\n", vtf_format_strings[ format ] );
auto_output( path_source, dest );
- nbvtf_convert( path_source, 0, 0, 1, format, 0x00, dest );
+ nbvtf_init();
+ nbvtf_convert( path_source, 0, 0, 1, format, 16, 0x00, dest );
return 0;
}