Quick guard against NULL ptr dereference of texture type on CPU side
Merge pull request #32 from jtilander/master

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