summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscrawl <scrawl@baseoftrash.de>2016-12-15 16:10:52 +0100
committerGitHub <noreply@github.com>2016-12-15 16:10:52 +0100
commit81b9b07820aebebe44359aebf553b65d07ec0d3e (patch)
tree7305e6b14d5e5d76b51f4ce354b3a7d47fe36eca
parent0168c55c2d8f5003ec8599e56f9efc71d9fc3dfa (diff)
parent369272fc702f41bc725f2d875c7d17a496a7bbfd (diff)
Merge pull request #1161 from Aussiemon/sdlfix
[Bug #2771] 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;