Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. HRESULT STDMETHODCALLTYPE Hooks::User_Present(IDirect3DDevice9* PTR, const RECT* SRC, const RECT* DEST, HWND WND_O, const RGNDATA* Dirty_Region)
  2. {
  3. bool Was_Initialized = false;
  4. if (Was_Initialized)
  5. {
  6. ImGui::GetIO().MouseDrawCursor = Config.Menu_Check_Key;
  7. ImGui_ImplDX9_NewFrame();
  8.  
  9. Hooks::Draw_Graphical_Interface();
  10.  
  11. ImGui::Render();
  12. }
  13. else
  14. {
  15. Was_Initialized = true;
  16. }
  17. return Hooks::Original_Present(PTR, SRC, DEST, WND_O, Dirty_Region);
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement