createTexture should return null if the context has been lost.
Groundwork for compressed textures.