Merge pull request #2037 from cg2121/compiler-warnings

UI, libobs: Fix compiler warnings
This commit is contained in:
Jim
2019-10-11 16:38:48 -07:00
committed by GitHub
2 changed files with 9 additions and 3 deletions

View File

@@ -139,6 +139,8 @@ static bool obs_init_gpu_conversion(struct obs_video_info *ovi)
if (!video->convert_textures[2])
return false;
break;
default:
break;
}
#ifdef _WIN32
}
@@ -190,6 +192,8 @@ static bool obs_init_gpu_copy_surfaces(struct obs_video_info *ovi, size_t i)
if (!video->copy_surfaces[i][2])
return false;
break;
default:
break;
}
return true;