From 6892e6108f1a0945e278cdb44b99c24bd0b10df3 Mon Sep 17 00:00:00 2001 From: DerelictDrone <57756830+DerelictDrone@users.noreply.github.com> Date: Mon, 27 Nov 2023 03:33:13 -0600 Subject: [PATCH] Force GPU to always render if on hud (#22) * Force render of offscreen GPUs linked to hud * Hudpaint is safe for no framelimit on calls to draw --- lua/entities/gmod_wire_gpu/cl_init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/entities/gmod_wire_gpu/cl_init.lua b/lua/entities/gmod_wire_gpu/cl_init.lua index 6c827a0..db4ca86 100644 --- a/lua/entities/gmod_wire_gpu/cl_init.lua +++ b/lua/entities/gmod_wire_gpu/cl_init.lua @@ -440,6 +440,7 @@ local function GPU_DrawHUD() local screenWidth = ScrW() local screenHeight = ScrH() + videoGPU:Draw() videoGPU:RenderVertex(screenWidth,screenHeight) end end