From c98ee490fcf93e290ae5e8a602fd88b359a61a1b Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 7 Jun 2021 10:47:53 +0100 Subject: MacOS: Reset GL context after initial window reshape --- src/mac_gl.m | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.1