Sign in to follow this  

SlimDX + Intel GMA 950

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this