diff options
Diffstat (limited to 'src/utils/sdlsharedhelper.cpp')
-rw-r--r-- | src/utils/sdlsharedhelper.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/sdlsharedhelper.cpp b/src/utils/sdlsharedhelper.cpp index 0f8e0a0d9..33f88dad8 100644 --- a/src/utils/sdlsharedhelper.cpp +++ b/src/utils/sdlsharedhelper.cpp @@ -25,7 +25,7 @@ #include <ppapi/cpp/instance.h> #include <ppapi/cpp/mouse_cursor.h> #include <ppapi_simple/ps.h> -#endif +#endif // __native_client__ #include <SDL_events.h> @@ -43,7 +43,8 @@ void SDL::showCursor(const bool show) pp::MouseCursor::SetCursor( pp::InstanceHandle(PSGetInstanceId()), cursor); -#endif +#endif // __native_client__ + if (show) SDL_ShowCursor(SDL_ENABLE); else |