EXT-6276 Put in some gl flush calls to texture state functions.
EXT-6276 Put in some gl flush calls to texture state functions.

gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm