# HG changeset patch # User unc0rr # Date 1515185013 -3600 # Node ID c9418f57fcbc6e43936029d5d09c95575039a0f4 # Parent b544bbbd0696c336e6ac91da5955964a2c2da958 Comment out functions that don't need to be called for engine in frontend window diff -r b544bbbd0696 -r c9418f57fcbc hedgewars/uStore.pas --- a/hedgewars/uStore.pas Tue Jan 02 23:45:18 2018 +0100 +++ b/hedgewars/uStore.pas Fri Jan 05 21:43:33 2018 +0100 @@ -1209,14 +1209,14 @@ // (SDLwindow is a private member of this module) procedure WarpMouse(x, y: Word); inline; begin - SDL_WarpMouseInWindow(SDLwindow, x, y); + //SDL_WarpMouseInWindow(SDLwindow, x, y); end; procedure SwapBuffers; {$IFDEF USE_VIDEO_RECORDING}cdecl{$ELSE}inline{$ENDIF}; begin if GameType = gmtRecord then exit; - SDL_GL_SwapWindow(SDLwindow); + //SDL_GL_SwapWindow(SDLwindow); end; procedure SetSkyColor(r, g, b: real);