From 0ed20bf1305a5be84cdde51ff55321be47832502 Mon Sep 17 00:00:00 2001 From: mantognini Date: Tue, 30 Nov 2010 23:00:45 +0000 Subject: [PATCH] fix SFContext::MakeCurrent git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1731 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Window/OSX/SFContext.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SFML/Window/OSX/SFContext.mm b/src/SFML/Window/OSX/SFContext.mm index 5e6b0fa9..24bf07a5 100644 --- a/src/SFML/Window/OSX/SFContext.mm +++ b/src/SFML/Window/OSX/SFContext.mm @@ -87,6 +87,7 @@ SFContext::~SFContext() bool SFContext::MakeCurrent() { [myContext makeCurrentContext]; + return myContext == [NSOpenGLContext currentContext]; // Should be true. }