mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-01-09 01:38:44 +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;
|
pl_vk_inst_params vkInstParams = pl_vk_inst_default_params;
|
||||||
{
|
{
|
||||||
bool ok;
|
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
|
#ifdef QT_DEBUG
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
vkInstParams.debug = true;
|
vkInstParams.debug = true;
|
||||||
|
|
Loading…
Reference in a new issue