From 6a77f96642b201f614ce7eb67f3b6ec4e1e8c181 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 26 Jul 2019 23:46:29 +0200 Subject: Make enterContext take a drawing parameter like leaveContext These need to be symmetric because sometimes different things need to happen in either situation when entering the context as well. --- test/pugl_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/pugl_test.c b/test/pugl_test.c index f011962..fe1cc29 100644 --- a/test/pugl_test.c +++ b/test/pugl_test.c @@ -183,7 +183,7 @@ main(int argc, char** argv) return 1; } - puglEnterContext(view); + puglEnterContext(view, false); glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LESS); glClearColor(0.2f, 0.2f, 0.2f, 1.0f); -- cgit v1.2.1