Skip to content

Commit

Permalink
Force GPU to always render if on hud (#22)
Browse files Browse the repository at this point in the history
* Force render of offscreen GPUs linked to hud

* Hudpaint is safe for no framelimit on calls to draw
  • Loading branch information
DerelictDrone authored Nov 27, 2023
1 parent a00b47a commit 6892e61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/entities/gmod_wire_gpu/cl_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ local function GPU_DrawHUD()
local screenWidth = ScrW()
local screenHeight = ScrH()

videoGPU:Draw()
videoGPU:RenderVertex(screenWidth,screenHeight)
end
end
Expand Down

0 comments on commit 6892e61

Please sign in to comment.