Jump to content
  • Advertisement
Sign in to follow this  
supagu

opengl causing c# application to close

This topic is 4807 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 a c++ dll in which i call SDL_SetVideoMode with the flag: SDL_OPENGL to init opengl for me. Now i'm using this c++ dll in a c# project i create my open gl window/device then at the end of the c# method it closes the c# application (calls Dispose method, where normally it would call my paint method) any ideas?

Share this post


Link to post
Share on other sites
Advertisement
looks like the problem is caused by the createion and destruction of a temporary win32 window in the sdl library. ive just made my self a custom build where it doesnt destroy the window :-/ just so it works with c#

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!