diff --git a/src/SFML/Window/Android/WindowImplAndroid.cpp b/src/SFML/Window/Android/WindowImplAndroid.cpp index c15cd5d4..ad5d8714 100644 --- a/src/SFML/Window/Android/WindowImplAndroid.cpp +++ b/src/SFML/Window/Android/WindowImplAndroid.cpp @@ -63,6 +63,9 @@ WindowImplAndroid::WindowImplAndroid(VideoMode mode, const String& title, unsign if (style& Style::Fullscreen) states->fullscreen = true; + WindowImplAndroid::singleInstance = this; + states->forwardEvent = forwardEvent; + // Register process event callback states->processEvent = processEvent;