0
votes
1answer
1k views

XNA - Error while rendering a texture to a 2D render target via SpriteBatch

I've got this simple code that uses SpriteBatch to draw a texture onto a RenderTarget2D: private void drawScene(GameTime g) { GraphicsDevice.Clear(skyColor); ...