// shim to deal with OpenGL headers being at a different path on macOS #pragma once // OpenGL headers on Windows use the `WINGDIAPI` macro #ifdef _WIN32 #include #endif #ifdef __APPLE__ #include #include // Apple considers OpenGL deprecated. So silence Clang’s warnings about our // use of it. #pragma clang diagnostic ignored "-Wdeprecated-declarations" #else #include #include #endif