Well I'm making a hook for ddraw, but my mouse always appears behind the text printed on the screen.
My text is on the endscene
HRESULT MyHook::end_scene(IDirect3DDevice7** mscene)
{
int x = MyHook::Getx();
int y = MyHook::Gety();
MyHook::print_screen("Test Message", x, y, 255, 205, 210, 214);
return S_OK;
}
![](https://uploads.gamedev.net/forums/monthly_2020_02/d7b36e1bcfbb4db49448047da26ce699.Sem-título.png)
Is there any way to fix this?