I've spent a while designing a nice menu, hooked endscene and reset etc. It looks good but now I can't get the device to show the mouse. If it makes any difference the game I am doing this for is CS:GO, it may be stopping it but who knows.
I am simply doing:
Code:
if (pMenu->IsVisible()) pDevice->ShowCursor(true);
else pDevice->ShowCursor(false);
I don't see a cursor when the menu is visible, only the one ingame which falls behind the menu.
I know the IsVisible function returns correctly, I tested that already.
Is there another way to do this?