DDSDecompress( (ddsBuffer_t*) buffer, *pixels );
}
+#ifdef BUILD_CRUNCH
/*
LoadCRNBuffer
loads a crn image into a valid rgba image
return;
}
}
+#endif // BUILD_CRUNCH
/*
if ( size > 0 ) {
LoadKTXBufferFirstImage( buffer, size, &image->pixels, &image->width, &image->height );
}
+ #ifdef BUILD_CRUNCH
else
{
/* attempt to load crn */
LoadCRNBuffer( buffer, size, &image->pixels, &image->width, &image->height );
}
}
+ #endif // BUILD_CRUNCH
}
}
}