]> git.jsancho.org Git - lugaru.git/blobdiff - Source/OpenGL_Windows.cpp
Fixed Xcode project.
[lugaru.git] / Source / OpenGL_Windows.cpp
index e112066ebb79df5d3c0946be2b206cc709278283..c1eae17bf7b101a5e3e084e3ad54af8c167ec17b 100644 (file)
@@ -1187,13 +1187,9 @@ void CleanUp (void)
 
 // --------------------------------------------------------------------------
 
-static bool g_focused = true;
-
-
 static bool IsFocused()
 {
-    STUBBED("write me");
-       return true;
+    return ((SDL_GetAppState() & SDL_APPINPUTFOCUS) != 0);
 }