Draw Rectangle in XNA using SpriteBatch Your texture doesn’t have any data. You need to set the pixel data: