PreferMultiSampling
Forum » MIDI Game Forums / Programming » PreferMultiSampling
Started by: BenHumberstonBenHumberston
On: 1173403385|%e %b %Y, %H:%M %Z|agohover
Number of posts: 2
rss icon RSS: New posts
PreferMultiSampling
BenHumberstonBenHumberston 1173403385|%e %b %Y, %H:%M %Z|agohover

So I've figured that the graphics.PreferMultiSampling option set to true in the start of the game is what is making the game sometimes run, sometimes bug out when I run it. Just wondering… is it for anti aliasing like I think it is, or something else, and why won't our game run without it? I can comment it out and the game runs ok for a bit, but when trying to play a note in the lab or moving in the "game game", the game crashes and gives me thus:

LoaderLock Detected:
Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.

Since the bug for whatever reason seems to be occurring more often that I can't run the game at all and must just keep trying again and again until it does run with PreferMultiSampling set to true, this is kinda a bit of a problem… is it happening to anybody else?

unfold PreferMultiSampling by BenHumberstonBenHumberston, 1173403385|%e %b %Y, %H:%M %Z|agohover
Re: PreferMultiSampling
BenHumberstonBenHumberston 1173412264|%e %b %Y, %H:%M %Z|agohover

AHA!

Whatever it is, iTunes seems to be part of the problem. A lot of trial and error seems to suggest that XNA and iTunes don't play nice with resources somehow or another… so just a suggestion to anybody else who is having this problem is to close itunes and c# express, then reopen just C#. It may solve the problem.

unfold Re: PreferMultiSampling by BenHumberstonBenHumberston, 1173412264|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.