mirror of https://git.suyu.dev/suyu/suyu
Merge pull request #1327 from FearlessTobi/port-4171
Port #4171 from Citra: "Tests: Remove glad test OS X work-around"merge-requests/60/head
commit
e7af0f69da
@ -1,14 +0,0 @@
|
||||
// Copyright 2016 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <catch2/catch.hpp>
|
||||
#include <glad/glad.h>
|
||||
|
||||
// This is not an actual test, but a work-around for issue #2183.
|
||||
// If tests uses functions in core but doesn't explicitly use functions in glad, the linker of macOS
|
||||
// will error about undefined references from video_core to glad. So we explicitly use a glad
|
||||
// function here to shut up the linker.
|
||||
TEST_CASE("glad fake test", "[dummy]") {
|
||||
REQUIRE(&gladLoadGL != nullptr);
|
||||
}
|
Loading…
Reference in New Issue