Show
Ignore:
Timestamp:
05/17/08 23:26:09 (4 months ago)
Author:
astrange
Message:

Add debug option to disable framedropping. This one's practically worth saving in the prefs, but we'll see.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CommonUtils.c

    r806 r880  
    286286        return 0; 
    287287} 
     288 
     289int IsFrameDroppingEnabled() 
     290{ 
     291        static int enabled = -1; 
     292         
     293        if (enabled == -1) enabled = getenv("PerianNoFrameDropping") == NULL; 
     294         
     295        return enabled; 
     296}