glad.cpp 556 B

1234567891011121314
  1. // Copyright 2016 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include <catch.hpp>
  5. #include <glad/glad.h>
  6. // This is not an actual test, but a work-around for issue #2183.
  7. // If tests uses functions in core but doesn't explicitly use functions in glad, the linker of macOS
  8. // will error about undefined references from video_core to glad. So we explicitly use a glad
  9. // function here to shut up the linker.
  10. TEST_CASE("glad fake test", "[dummy]") {
  11. REQUIRE(&gladLoadGL != nullptr);
  12. }