small fix for compressed texture support
Port master improvements To tev emulation in a way that all the backends can handle it.