Fixed createTexture default argument error.