summaryrefslogtreecommitdiff
path: root/src/tests/glad.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2018-09-17 09:54:31 -0400
committerGravatar GitHub2018-09-17 09:54:31 -0400
commite7af0f69da45399eb15a2b0379f5e9c918898a1a (patch)
tree9d958e0df269ccb1b3bd0a79900d87e40466fbea /src/tests/glad.cpp
parentMerge pull request #1326 from FearlessTobi/port-4182 (diff)
parentTests: Remove glad test OS X work-around (diff)
downloadyuzu-e7af0f69da45399eb15a2b0379f5e9c918898a1a.tar.gz
yuzu-e7af0f69da45399eb15a2b0379f5e9c918898a1a.tar.xz
yuzu-e7af0f69da45399eb15a2b0379f5e9c918898a1a.zip
Merge pull request #1327 from FearlessTobi/port-4171
Port #4171 from Citra: "Tests: Remove glad test OS X work-around"
Diffstat (limited to 'src/tests/glad.cpp')
-rw-r--r--src/tests/glad.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/tests/glad.cpp b/src/tests/glad.cpp
deleted file mode 100644
index 1797c0e3d..000000000
--- a/src/tests/glad.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
1// Copyright 2016 Citra Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#include <catch2/catch.hpp>
6#include <glad/glad.h>
7
8// This is not an actual test, but a work-around for issue #2183.
9// If tests uses functions in core but doesn't explicitly use functions in glad, the linker of macOS
10// will error about undefined references from video_core to glad. So we explicitly use a glad
11// function here to shut up the linker.
12TEST_CASE("glad fake test", "[dummy]") {
13 REQUIRE(&gladLoadGL != nullptr);
14}