split IGraphicsDevice.{Present,PumpInput}
This commit is contained in:
@@ -180,9 +180,13 @@ namespace OpenRA.Renderer.Glsl
|
||||
}
|
||||
}
|
||||
|
||||
public void Present( IInputHandler inputHandler )
|
||||
public void Present()
|
||||
{
|
||||
Sdl.SDL_GL_SwapBuffers();
|
||||
}
|
||||
|
||||
public void PumpInput( IInputHandler inputHandler )
|
||||
{
|
||||
Game.HasInputFocus = 0 != ( Sdl.SDL_GetAppState() & Sdl.SDL_APPINPUTFOCUS );
|
||||
|
||||
var mods = MakeModifiers( Sdl.SDL_GetModState() );
|
||||
|
||||
Reference in New Issue
Block a user