mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
fix SFContext::MakeCurrent
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1731 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
e2ff29ecda
commit
0ed20bf130
@ -87,6 +87,7 @@ SFContext::~SFContext()
|
||||
bool SFContext::MakeCurrent()
|
||||
{
|
||||
[myContext makeCurrentContext];
|
||||
return myContext == [NSOpenGLContext currentContext]; // Should be true.
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user