cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
538 stars 59 forks source link

Remove reinterpret_casts in, e.g., FramebufferAttachment.cpp #332

Closed cgcostume closed 6 years ago

scheibel commented 6 years ago

This code won't work without reinterpret cast (static_cast is prohibited by C++ and dynamic_cast is too costly there as we already checked the type using virtual member function calls). Closing for now.