Fixing sampler state flushing to take into account state changes that are more than just the instance of the OpenGLTexture changing.