diff options
author | David Robillard <d@drobilla.net> | 2024-10-05 12:27:40 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-05 12:27:53 -0400 |
commit | edd13c1b952b16633861855fcdbdd164e87b3c0a (patch) | |
tree | 9369668e8f9093f792ba978f254c828a6b58eafc | |
parent | 0a2e26e998a64f981cc308249010173cebfa6ad2 (diff) | |
download | pugl-main.tar.gz pugl-main.tar.bz2 pugl-main.zip |
-rw-r--r-- | test/test_gl_free_unrealized.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/test/test_gl_free_unrealized.c b/test/test_gl_free_unrealized.c index 82fc18b..ba0d895 100644 --- a/test/test_gl_free_unrealized.c +++ b/test/test_gl_free_unrealized.c @@ -1,4 +1,4 @@ -// Copyright 2022 David Robillard <d@drobilla.net> +// Copyright 2022-2024 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC /* @@ -9,8 +9,6 @@ #undef NDEBUG -#include "test_utils.h" - #include "pugl/gl.h" #include "pugl/pugl.h" @@ -18,16 +16,14 @@ #include <stddef.h> typedef struct { - PuglWorld* world; - PuglView* view; - PuglTestOptions opts; + PuglWorld* world; + PuglView* view; } PuglTest; int -main(int argc, char** argv) +main(void) { - PuglTest test = { - puglNewWorld(PUGL_PROGRAM, 0), NULL, puglParseTestOptions(&argc, &argv)}; + PuglTest test = {puglNewWorld(PUGL_PROGRAM, 0), NULL}; // Set up view test.view = puglNewView(test.world); |