mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user