libprimis icon indicating copy to clipboard operation
libprimis copied to clipboard

Make `renderstate` a class

Open no-lex opened this issue 3 years ago • 0 comments

renderstate is a data-only structure used for carrying around rendering data. However, it has a large number of associated functions which essentially act as member variables. Moving them into the renderstate object makes it clear what their association is. It is defined in renderva.cpp, and all of its associated functions are also located there.

no-lex avatar Feb 02 '22 02:02 no-lex