summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAussiemon <mattrohrlach+github@gmail.com>2016-12-14 21:08:20 -0700
committerAussiemon <mattrohrlach+github@gmail.com>2016-12-14 21:08:20 -0700
commit369272fc702f41bc725f2d875c7d17a496a7bbfd (patch)
treed5b47b27d314c3a67beeb8614efabbfa53f6f551
parent2eb6ef50ca614cc77f20169b2e1ef89d6e8f5932 (diff)
Handle SDL event 0x302 by doing nothing
-rw-r--r--components/sdlutil/sdlinputwrapper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/sdlutil/sdlinputwrapper.cpp b/components/sdlutil/sdlinputwrapper.cpp
index 647a650..6482f37 100644
--- a/components/sdlutil/sdlinputwrapper.cpp
+++ b/components/sdlutil/sdlinputwrapper.cpp
@@ -103,6 +103,8 @@ InputWrapper::InputWrapper(SDL_Window* window, osg::ref_ptr<osgViewer::Viewer> v
mViewer->getEventQueue()->keyRelease(osgGA::GUIEventAdapter::KEY_F3);
break;
+ case SDL_TEXTEDITING:
+ break;
case SDL_TEXTINPUT:
mKeyboardListener->textInput(evt.text);
break;