mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +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()
|
bool SFContext::MakeCurrent()
|
||||||
{
|
{
|
||||||
[myContext makeCurrentContext];
|
[myContext makeCurrentContext];
|
||||||
|
return myContext == [NSOpenGLContext currentContext]; // Should be true.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user