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

Magenta background after Terxture2D.GetData

$
0
0

@jelcynek wrote:

I spent some time on debugging my code and it looks that after calling GetData on my tileset texture my screen is whole in magenta color and anything is displayed.

All logic works fine (I think so) because I heard sounds and hear that it responds to my input but nothing is displayed instead of magenta background. I doesn't even have magenta color anywhere in my project, so I believe it could be some GetData function problem or maybe some memory issue. This texture is 160 x 200 pixels if that have any meaning.

I am new to IOS so maybe there are some limitations. Another thing strange is that magenta background appears even when I disable all SpriteBatch.draw calls.

I use MonoGame in version 3.6.

Any ideas?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles