diff options
author | falkTX <falktx@falktx.com> | 2021-06-07 10:47:53 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-06-07 11:34:40 -0400 |
commit | c98ee490fcf93e290ae5e8a602fd88b359a61a1b (patch) | |
tree | 13328f9913ccec500c29adc9308186e0678a267b | |
parent | e52c00ebaf1d3e2ca1c87a291ed36b10a4822d62 (diff) | |
download | pugl-c98ee490fcf93e290ae5e8a602fd88b359a61a1b.tar.gz pugl-c98ee490fcf93e290ae5e8a602fd88b359a61a1b.tar.bz2 pugl-c98ee490fcf93e290ae5e8a602fd88b359a61a1b.zip |
MacOS: Reset GL context after initial window reshape
-rw-r--r-- | src/mac_gl.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mac_gl.m b/src/mac_gl.m index 039dbbf..3e74afe 100644 --- a/src/mac_gl.m +++ b/src/mac_gl.m @@ -94,6 +94,7 @@ if (self) { [[self openGLContext] makeCurrentContext]; [self reshape]; + [NSOpenGLContext clearCurrentContext]; } return self; } |