Disable input method in game
This commit is contained in:
parent
bbbdb2d9d4
commit
f5766d47b6
|
@ -12,6 +12,8 @@
|
|||
#include "splash.h"
|
||||
#include "render.h"
|
||||
|
||||
#pragma comment(lib, "imm32.lib")
|
||||
|
||||
const float TargetUPS = 120, TargetFrameTime = 1000 / TargetUPS;
|
||||
|
||||
HINSTANCE winmain::hinst = nullptr;
|
||||
|
@ -192,6 +194,8 @@ int winmain::WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
|||
return 0;
|
||||
}
|
||||
|
||||
HIMC hImc = ImmAssociateContext(hwnd_frame, NULL);
|
||||
|
||||
auto menuHandle = GetMenu(windowHandle);
|
||||
options::init(menuHandle);
|
||||
pb::reset_table();
|
||||
|
|
Loading…
Reference in New Issue