Problem loading images with DirectX mobile
I'm having problems getting my C# windows mobile game to load up images. It's telling me that a value cannot be null on this line:
background = TextureLoader.FromStream(dev, Assembly.GetExecutingAssembly().GetManifestResourceStream(
"Images.Background.bmp"));
The image is set up as an 'embedded resource', so this can't be the problem. Stepping through the code reveals that the 'background' texture object is the only null item on that line prior to attempted execution.
So what am I missing here?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement