Jump to content
  • Advertisement
Sign in to follow this  

SlimDX + Intel GMA 950

This topic is 3174 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have some SlimDX code that was previously working on a machine with an ATI Radeon Xpress 200M, but I'm having issues creating the device on my other machine with an Intel GMA 950. Here is where I set up the present parameters:
presentParameters = new PresentParameters();
            presentParameters.BackBufferWidth = displayMode.Width;
            presentParameters.BackBufferHeight = displayMode.Height;
            presentParameters.BackBufferFormat = Format.X8B8G8R8;
            presentParameters.Windowed = !displayMode.Fullscreen;
            presentParameters.SwapEffect = SwapEffect.Discard;
            presentParameters.Multisample = displayMode.Multisamples > 0 ? MultisampleType.NonMaskable : MultisampleType.None;
            presentParameters.MultisampleQuality = displayMode.Multisamples;
            presentParameters.PresentationInterval = displayMode.Synchronized ? PresentInterval.One : PresentInterval.Immediate;

And I've tried creating the device as Hardware, Software, and Reference, as well as with HardwareVertexProcessing and SoftwareVertexProcessing. No matter what, I get an Invalid Call error. When it is run, Multisample is equal to None. There must be something that the GMA 950 doesn't support that I have enabled, but I'm not sure what it is. Any ideas? Thanks.

Share this post

Link to post
Share on other sites
The default BackBuffer format should be X8R8G8B8 rather than X8B8G8R8, otherwise, as Promit said, check the debug runtimes.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!