From 0fa5ca60b872c8d3719e68475c2831fec8756597 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Jan 2023 16:27:41 -0500 Subject: Remove dead code --- test/test_gl_free_unrealized.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'test') diff --git a/test/test_gl_free_unrealized.c b/test/test_gl_free_unrealized.c index 2f59395..0ad3dda 100644 --- a/test/test_gl_free_unrealized.c +++ b/test/test_gl_free_unrealized.c @@ -15,7 +15,6 @@ #include "pugl/pugl.h" #include -#include #include typedef struct { @@ -24,18 +23,6 @@ typedef struct { PuglTestOptions opts; } PuglTest; -static PuglStatus -onEvent(PuglView* const view, const PuglEvent* const event) -{ - PuglTest* const test = (PuglTest*)puglGetHandle(view); - - if (test->opts.verbose) { - printEvent(event, "Event: ", true); - } - - return PUGL_SUCCESS; -} - int main(int argc, char** argv) { @@ -48,7 +35,6 @@ main(int argc, char** argv) puglSetWindowTitle(test.view, "Pugl OpenGL Free Test"); puglSetBackend(test.view, puglGlBackend()); puglSetHandle(test.view, &test); - puglSetEventFunc(test.view, onEvent); puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 256, 256); puglSetPosition(test.view, 640, 896); -- cgit v1.2.1