[graphics] Fix "can't use default assignment operator"

by dropping the TextData reference, it's not being used, anyway