]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/imagelib.h
KTX support - something Git didn't want to commit
[xonotic/netradiant.git] / tools / quake3 / common / imagelib.h
index 194ac5b13e2edea15dfb660b37d188d95b969cde..8c00f7ce15891718cc4d61cc6d9c61c88f10a878 100644 (file)
@@ -43,3 +43,5 @@ void WriteTGAGray( const char *filename, byte *data, int width, int height );
 int LoadJPGBuff( void *src_buffer, int src_size, unsigned char **pic, int *width, int *height );
 
 void Load32BitImage( const char *name, unsigned **pixels, int *width, int *height );
+
+void LoadKTXBufferFirstImage( const byte *buffer, size_t bufSize, byte **pic, int *picWidth, int *picHeight );