Cleanup: unused variable warning, formatting
This commit is contained in:
parent
37e555d2fe
commit
94d2a611ec
|
@ -423,7 +423,7 @@ static void detect_workarounds()
|
|||
|
||||
/* Buggy interface query functions cause crashes when handling SSBOs (T93680) */
|
||||
if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_ANY, GPU_DRIVER_ANY) &&
|
||||
(strstr(renderer, "HD Graphics 4400")|| strstr(renderer, "HD Graphics 4600"))) {
|
||||
(strstr(renderer, "HD Graphics 4400") || strstr(renderer, "HD Graphics 4600"))) {
|
||||
GCaps.shader_storage_buffer_objects_support = false;
|
||||
}
|
||||
} // namespace blender::gpu
|
||||
|
|
|
@ -1446,7 +1446,10 @@ IndexBuildContext *IMB_anim_index_rebuild_context(struct anim *anim,
|
|||
context = index_ffmpeg_create_context(
|
||||
anim, tcs_in_use, proxy_sizes_to_build, quality, build_only_on_bad_performance);
|
||||
break;
|
||||
#else
|
||||
UNUSED_VARS(build_only_on_bad_performance);
|
||||
#endif
|
||||
|
||||
#ifdef WITH_AVI
|
||||
default:
|
||||
context = index_fallback_create_context(anim, tcs_in_use, proxy_sizes_to_build, quality);
|
||||
|
|
Loading…
Reference in New Issue