aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-11 16:27:41 -0500
committerDavid Robillard <d@drobilla.net>2023-01-11 17:08:00 -0500
commit0fa5ca60b872c8d3719e68475c2831fec8756597 (patch)
treed3286dafebabc4e0acb2d75c9187f92f22f7866e
parent94f3e2e5a2cd789f32459d662b351d45eca8e52c (diff)
downloadpugl-0fa5ca60b872c8d3719e68475c2831fec8756597.tar.gz
pugl-0fa5ca60b872c8d3719e68475c2831fec8756597.tar.bz2
pugl-0fa5ca60b872c8d3719e68475c2831fec8756597.zip
Remove dead code
-rw-r--r--test/test_gl_free_unrealized.c14
1 files changed, 0 insertions, 14 deletions
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 <assert.h>
-#include <stdbool.h>
#include <stddef.h>
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);