Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

100 Neutral

About anon72

  • Rank
  1. Hmm. Well, glGetStringi may not be available anyway... Any other possibilities?
  2. I didn't author the application, I'm just trying to make it work. Regardless, even with the other context glGetString still crashes...
  3. It does appear that the context that we query for glGetString is a different context than that created for performing the actual rendering. Is it possible that the initial context is somehow invalid or damaged? If so, how would I diagnose the issue?
  4. Well, I am sure that the return values are being checked. The context being returned is non-null and being set before glGetString is called. Further, I know that the draw calls are going through correctly, although I don't know the code well enough to guarantee that the context being used for glGetString is the same one as that being used for the drawing - I'll get back to you on that one.
  5. Hello folks. I've recently been tasked with taking a tools application which uses OpenGL via C# from Visual Studio 2005 to VS2010. In the process I've retargetted the application from .Net 2.0 to .Net 4.0. For the most part, everything has gone relatively smoothly, however a couple pieces of the code are now malfunctioning. One piece is using glGetString calls to retrieve the renderer, version, and vendor information from the current context. Executing this code now results in an exception thrown from within the OpenGL call itself. The code relating to OpenGL has not changed during this migration, and the application compiled in VS2005 does not show this behavior. I can't help but think if I can figure out what has changed (the code has not) between VS2005 and VS2010 (or between .Net 2.0 and .Net 4.0) then I will be able to track down the other issues as well. So... Any ideas as to how I might track down the problem that has occurred?
  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!