Cocoa Port:
- Fix a performance bug where CocoaDSDisplay objects weren't properly frameskipping. - Fix compiling when building on a machine running Leopard.
This commit is contained in:
parent
a18082d29b
commit
b78553cca8
|
@ -739,7 +739,7 @@ static void* RunCoreThread(void *arg)
|
|||
pthread_mutex_lock(¶m->mutexOutputList);
|
||||
for(CocoaDSOutput *cdsOutput in cdsOutputList)
|
||||
{
|
||||
if (param->framesToSkip > 0 && [cdsOutput isMemberOfClass:[CocoaDSDisplay class]])
|
||||
if (param->framesToSkip > 0 && [cdsOutput isKindOfClass:[CocoaDSDisplay class]])
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -38,7 +38,11 @@
|
|||
|
||||
#pragma mark -
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5
|
||||
@interface InputPrefsView : NSView <InputHIDManagerTarget, NSOutlineViewDelegate, NSOutlineViewDataSource>
|
||||
#else
|
||||
@interface InputPrefsView : NSView <InputHIDManagerTarget>
|
||||
#endif
|
||||
{
|
||||
NSWindow *prefWindow;
|
||||
NSOutlineView *inputPrefOutlineView;
|
||||
|
|
Loading…
Reference in New Issue