DirectX 9 backend, part 6

mouse input works
This commit is contained in:
tildearrow 2024-05-13 17:00:25 -05:00
parent d0083b7124
commit 106d129622

View file

@ -131,6 +131,9 @@ void FurnaceGUIRenderDX9::resized(const SDL_Event& ev) {
logE("OH NO");
}
ImGui_ImplDX9_CreateDeviceObjects();
outW=ev.window.data1;
outH=ev.window.data2;
}
void FurnaceGUIRenderDX9::clear(ImVec4 color) {
@ -262,6 +265,8 @@ bool FurnaceGUIRenderDX9::init(SDL_Window* win, int swapInt) {
maxHeight=caps.MaxTextureHeight;
}
SDL_GetWindowSize(win,&outW,&outH);
return true;
}