fixes for new compiler, sampler states support in Linker(dxt1, dxt5,
rgba, video)