diff options
author | David Robillard <d@drobilla.net> | 2019-07-26 23:46:29 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-28 19:06:39 +0200 |
commit | 6a77f96642b201f614ce7eb67f3b6ec4e1e8c181 (patch) | |
tree | 051a02fcd8ffd6ec0a6c6fb8c1331a4a1592d99b /test | |
parent | 6a3159df3e41cfef6d94ff52f2cf9c5375254243 (diff) | |
download | pugl-6a77f96642b201f614ce7eb67f3b6ec4e1e8c181.tar.gz pugl-6a77f96642b201f614ce7eb67f3b6ec4e1e8c181.tar.bz2 pugl-6a77f96642b201f614ce7eb67f3b6ec4e1e8c181.zip |
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/pugl_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |