diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-12-07 14:45:14 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-12-07 14:45:14 +0000 |
commit | 8dead45cb366bf5c08539bef2ccaa36b80eb1483 (patch) | |
tree | 25bdc2041b9d00d0e2e1e46ece0f96b8aaca0527 /test/wgl_per_context_funcptrs.c | |
parent | 0aa9d1bc831683bfe93980eb3cffa1f0c2f058fb (diff) | |
download | libepoxy-8dead45cb366bf5c08539bef2ccaa36b80eb1483.tar.gz |
Revert all changes since 8bbc0d40
Most of the changes that happened after commit 8bbc0d40 broke epoxy
pretty much irreparably because of the CMake build and the attempt at
making libepoxy a static library that can be copy-pasted into another
project without generating files.
Since all the commits are entangled, and are full of unrelated changes,
we cannot simply do a localized set of reverts; instead, we need to hit
the reset button.
From this point forward, we're going to improve libepoxy's build while
attempting to keep the existing build system working. This may mean
reinstating the CMake build system at a later date.
Diffstat (limited to 'test/wgl_per_context_funcptrs.c')
-rw-r--r-- | test/wgl_per_context_funcptrs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/wgl_per_context_funcptrs.c b/test/wgl_per_context_funcptrs.c index 4e5f3fb..c76c7b3 100644 --- a/test/wgl_per_context_funcptrs.c +++ b/test/wgl_per_context_funcptrs.c @@ -35,6 +35,7 @@ * regardless. */ +#include <config.h> #include <stdio.h> #include <assert.h> @@ -56,7 +57,6 @@ OVERRIDE_API (PROC) override_wglGetProcAddress(LPCSTR name); OVERRIDE_API (GLuint) override_glCreateShader_ctx1(GLenum target) { - EPOXY_UNUSED(target); if (current_context != ctx1) { fprintf(stderr, "ctx1 called while other context current\n"); pass = false; @@ -67,7 +67,6 @@ override_glCreateShader_ctx1(GLenum target) OVERRIDE_API (GLuint) override_glCreateShader_ctx2(GLenum target) { - EPOXY_UNUSED(target); if (current_context != ctx2) { fprintf(stderr, "ctx2 called while other context current\n"); pass = false; @@ -157,7 +156,8 @@ test_function(HDC hdc) return !pass; } -int main() +int +main(int argc, char **argv) { make_window_and_test(test_function); |