Cross-platform OpenGL abstractions