Add warning for passing nil texture to CCRenderState