X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FOpenGL_Windows.cpp;h=c1eae17bf7b101a5e3e084e3ad54af8c167ec17b;hb=92a6a5b3deaa3c03ab40851496b73bcdbba22fee;hp=e112066ebb79df5d3c0946be2b206cc709278283;hpb=a04b9ae281db1ca19937c0c30e138e9ed57b0d21;p=lugaru.git diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index e112066..c1eae17 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -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); }