Quick guard against NULL ptr dereference of texture type on CPU side

I've not deeply thought about what this means, merely wanted to avoid a CPU crash :)