Comment out functions that don't need to be called for engine in frontend window qmlfrontend
authorunc0rr
Fri, 05 Jan 2018 21:43:33 +0100
branchqmlfrontend
changeset 12877 c9418f57fcbc
parent 12876 b544bbbd0696
child 12878 b3426030a426
Comment out functions that don't need to be called for engine in frontend window
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);