From 90b98ffdc53724ce5cb97e81e58467c3c06c576f Mon Sep 17 00:00:00 2001 From: myT <> Date: Sun, 15 Dec 2024 20:10:33 +0100 Subject: [PATCH] added dev prints for RHI init and shutdown --- code/renderer/rhi_d3d12.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/renderer/rhi_d3d12.cpp b/code/renderer/rhi_d3d12.cpp index ec0a79d..c90e4f7 100644 --- a/code/renderer/rhi_d3d12.cpp +++ b/code/renderer/rhi_d3d12.cpp @@ -3209,6 +3209,8 @@ namespace RHI bool Init(const InitDesc& initDesc) { + ri.Printf(PRINT_DEVELOPER, "RHI: %s\n", rhi.device == NULL ? "full init" : "partial init"); + Sys_V_Init(); if(rhi.device != NULL) @@ -3817,6 +3819,8 @@ namespace RHI destroyWindow = true; } + ri.Printf(PRINT_DEVELOPER, "RHI: %s\n", destroyWindow ? "full shutdown" : "partial shutdown"); + if(rhi.frameBegun) { backEnd.renderFrame = qfalse;