implement global shaders

This commit is contained in:
Ricardo Luís Vaz Silva 2025-01-06 13:30:42 -03:00 committed by Nash Muhandes
commit 3a31008aa8
8 changed files with 484 additions and 202 deletions

View file

@ -3972,6 +3972,11 @@ void D_Cleanup()
{
*(afunc->VMPointer) = NULL;
});
for(auto &gshader : globalshaders)
{
gshader = {};
}
GC::DelSoftRootHead();