From edd13c1b952b16633861855fcdbdd164e87b3c0a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 5 Oct 2024 12:27:40 -0400 Subject: Remove unused options struct from test --- test/test_gl_free_unrealized.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'test') 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 +// Copyright 2022-2024 David Robillard // 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 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); -- cgit v1.2.1