mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-01-08 09:18:43 +00:00
Expose PLVK_DEBUG_EXTRA for enabling extra debug layers
This commit is contained in:
parent
646ce2bf66
commit
61f71a318e
1 changed files with 2 additions and 1 deletions
|
@ -341,7 +341,8 @@ bool PlVkRenderer::initialize(PDECODER_PARAMETERS params)
|
|||
pl_vk_inst_params vkInstParams = pl_vk_inst_default_params;
|
||||
{
|
||||
bool ok;
|
||||
vkInstParams.debug = !!qEnvironmentVariableIntValue("PLVK_DEBUG", &ok);
|
||||
vkInstParams.debug_extra = !!qEnvironmentVariableIntValue("PLVK_DEBUG_EXTRA", &ok);
|
||||
vkInstParams.debug = vkInstParams.debug_extra || !!qEnvironmentVariableIntValue("PLVK_DEBUG", &ok);
|
||||
#ifdef QT_DEBUG
|
||||
if (!ok) {
|
||||
vkInstParams.debug = true;
|
||||
|
|
Loading…
Reference in a new issue