Small batch of fixes
-=-=-=-=-=-=-=-=-=-= -Fixed looping error in AudioStreamResampled -winrt port progress -fixes in material in ambient light
This commit is contained in:
@ -106,6 +106,7 @@ String DirAccessWindows::get_next() {
|
||||
return name;
|
||||
} else {
|
||||
|
||||
#ifndef WINRT_ENABLED
|
||||
_cisdir=(p->fu.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY);
|
||||
|
||||
String name=p->f.cFileName;
|
||||
@ -117,7 +118,8 @@ String DirAccessWindows::get_next() {
|
||||
}
|
||||
|
||||
return name;
|
||||
|
||||
#endif
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
@ -358,6 +360,7 @@ bool DirAccessWindows::dir_exists(String p_dir) {
|
||||
return (fileAttr&FILE_ATTRIBUTE_DIRECTORY);
|
||||
|
||||
} else {
|
||||
#ifndef WINRT_ENABLED
|
||||
DWORD fileAttr;
|
||||
|
||||
fileAttr = GetFileAttributesExA(p_dir.ascii().get_data(), GetFileExInfoStandard, &fileInfo);
|
||||
@ -366,8 +369,8 @@ bool DirAccessWindows::dir_exists(String p_dir) {
|
||||
|
||||
return (fileAttr&FILE_ATTRIBUTE_DIRECTORY);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user