fixed sporadic Bus Error in GetAvailableDisplayModes
This commit is contained in:
parent
5411e23b7a
commit
79823229f9
|
@ -79,7 +79,8 @@ static double _getDictDouble (CFDictionaryRef refDict, CFStringRef key)
|
|||
|
||||
jobjectArray GetAvailableDisplayModesOSX(JNIEnv * env)
|
||||
{
|
||||
CFIndex i, count, availableModes;
|
||||
CFIndex i, count;
|
||||
CFIndex availableModes = 0;
|
||||
CFArrayRef displayModes = NULL;
|
||||
int n = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue