Moves cursor to VideoMode to draw it via SDL.

It removes the software implementation intentionally. Because it
duplicates SDL functionality. But it might be added in future on demand.

Tested By: bb, Langbart
Differential Revision: https://code.wildfiregames.com/D4278
This was SVN commit r25936.
This commit is contained in:
vladislavbelov
2021-09-21 22:44:46 +00:00
parent b4f0464591
commit 0e599a3176
14 changed files with 204 additions and 532 deletions
-6
View File
@@ -159,12 +159,6 @@ static InReaction MainInputHandler(const SDL_Event_* ev)
case SDL_WINDOWEVENT:
switch(ev->ev.window.event)
{
case SDL_WINDOWEVENT_ENTER:
RenderCursor(true);
break;
case SDL_WINDOWEVENT_LEAVE:
RenderCursor(false);
break;
case SDL_WINDOWEVENT_RESIZED:
g_ResizedW = ev->ev.window.data1;
g_ResizedH = ev->ev.window.data2;