Jump to content
  • Advertisement
Sign in to follow this  
jeffreyp23

Multiple direct x applications on the same computer

This topic is 2140 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

Heey guys,

I got a question about running(in visual studio) multiple(2) direct x applications on the same computer.
When i do this i get a warning :

[source]
D3D11: WARNING: ID3D11DeviceContext::Draw: Vertex Buffer at the input vertex slot 0 is not big enough for what the Draw*() call expects to traverse. This is OK, as reading off the end of the Buffer is defined to return 0. However the developer probably did not intend to make use of this behavior. [ EXECUTION WARNING #356: DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL ]
[/source]

I already debugged my code but this only happens when i try to debug 2 instances.\
My guess would be that the slot is already in use by the other app and that's why it throws this error.

Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
If each process creates its own device and context, then their state won't be shared. In other words, setting a vertex buffer on a context in one app won't affect the context in another app.

Share this post


Link to post
Share on other sites
After some long time i decided to try this again(that is why i bumped this thread) and i only get this error when i run 2instances of my application.
I can't figure out what is wrong. Maybe this has something to do with visual studio 11?

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!