Forgot to reset modifiers once done with modifiers.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1663 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
2de675c752
commit
8fbcdd5aa9
@ -316,6 +316,8 @@ void fgPlatformProcessSingleEvent ( void )
|
||||
INVOKE_WCB( *window, MultiButton, ( touchEvent.contact_id, touchEvent.x, touchEvent.y, 0, GLUT_UP ) );
|
||||
INVOKE_WCB( *window, MultiEntry, ( touchEvent.contact_id, GLUT_LEFT ) );
|
||||
}
|
||||
|
||||
fgState.Modifiers = INVALID_MODIFIERS;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -394,6 +396,8 @@ void fgPlatformProcessSingleEvent ( void )
|
||||
fgState.MouseWheelTicks -= wheel;
|
||||
//TODO: Implement wheel support (based on fg_main_mswin... though it seems excessive)
|
||||
}
|
||||
|
||||
fgState.Modifiers = INVALID_MODIFIERS;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -432,6 +436,8 @@ void fgPlatformProcessSingleEvent ( void )
|
||||
} else {
|
||||
LOGW("fgPlatformProcessSingleEvent: SCREEN_EVENT_KEYBOARD. Unhandled key event");
|
||||
}
|
||||
|
||||
fgState.Modifiers = INVALID_MODIFIERS;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user