On Wed, Mar 17, 2010 at 3:00 PM, Michael Menegakis <[email protected]> wrote: > I notice SDL_EnableKeyRepeat is apparently effectively called in EVERY > frame (from IN_ProcessEvents()).
ah. a workaround i noticed is to put a boolean to qfalse each time Key_SetCatcher() is called hence to save the cpu cycles (of re-calling OS API functions retrieving the values). the boolean would be used to only re-set delay/interval static vars when it is reset. _______________________________________________ ioquake3 mailing list [email protected] http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org By sending this message I agree to love ioquake3 and libsdl.
