sensics / OSVR-RenderManager

Apache License 2.0
64 stars 45 forks source link

OpenGL ConvertContextParams unsafe #165

Closed rpavlik closed 8 years ago

rpavlik commented 8 years ago

Retains pointer returned by std::string's c_str() method, which isn't defined to be persistent in any way beyond the lifetime of the expression. If you need a c string to stick around you get to copy it and manage the lifetime yourself - that's the fun of c strings.

russell-taylor commented 8 years ago

Fixed and added to pull request https://github.com/sensics/OSVR-RenderManager/pull/171