Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

RenderTarget2D "Parameter is Incorrect" Error ???

$
0
0

@SNaidamast wrote:

Hello...

I am attempting to create a RenderTarget2d object with the following maximum sizes...
height = 72 * 100
width = 72 * 40

These sizes will allow me to draw a hexagon map with a height of 100 tiles and a width of 40 tiles.

If I keep these sizes to something let's say like 20 tiles by 20 tiles (each tile is 72x72 pixels) I have no problems instantiating a new RenderTarget2d.

However, once I go over a certain maximum I get a "Parameter is Incorrect" error, which I imagine means I am going beyond some internal memory consideration.

However, based on what I have read on the forums here, there should be no maximum on these size parameters.

Is there a way to get around this limitation since whatever I am able to draw to the RenderTarget2D object is now working quite well?

Thank you...

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles