Refactored DSA code to provide proper support for OpenGL 4.5