From: Miriam Ruiz Date: Sun, 30 Nov 2008 17:26:41 +0000 (+0100) Subject: Reduce CPU usage X-Git-Url: https://repo.or.cz/w/hex-a-hop.git/commitdiff_plain/b61fe671204dad8ce98cb00ce2b11e0906735e3e Reduce CPU usage Based on patch from "trick" (see http://bugs.debian.org/440377 for details) Copyright (C) 2007 Joey Hess --- diff --git a/gfx.cpp b/gfx.cpp index 041ee76..1533d39 100644 --- a/gfx.cpp +++ b/gfx.cpp @@ -312,6 +312,8 @@ int main(int argc, char * argv[]) videoExposed = 0; } + SDL_Delay(10); + #ifdef USE_BBTABLET // Tablet //////////////////////// bbTabletEvent evt;