mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
hwcontext_vulkan: update debugging layer name
This commit is contained in:
parent
030a565baf
commit
acfef378b7
@ -425,7 +425,7 @@ static int create_instance(AVHWDeviceContext *ctx, AVDictionary *opts)
|
||||
return err;
|
||||
|
||||
if (debug_mode) {
|
||||
static const char *layers[] = { "VK_LAYER_LUNARG_standard_validation" };
|
||||
static const char *layers[] = { "VK_LAYER_KHRONOS_validation" };
|
||||
inst_props.ppEnabledLayerNames = layers;
|
||||
inst_props.enabledLayerCount = FF_ARRAY_ELEMS(layers);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user