On iOS, make sure to be notified if you forgot to include <SFML/Main.hpp>
This commit is contained in:
parent
bc570b22bf
commit
8d96976e4b
@ -56,6 +56,10 @@ namespace
|
||||
////////////////////////////////////////////////////////////
|
||||
+ (SFAppDelegate*)getInstance
|
||||
{
|
||||
NSAssert(delegateInstance,
|
||||
@"SFAppDelegate instance is nil, this means SFML was not properly initialized. "
|
||||
"Make sure that the file defining your main() function includes <SFML/Main.hpp>");
|
||||
|
||||
return delegateInstance;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user