Shader_Minifier icon indicating copy to clipboard operation
Shader_Minifier copied to clipboard

Inline void functions with no returns

Open therontarigo opened this issue 11 months ago • 8 comments

If a function has void return type, takes no arguments, and does not use the return statement, it should be possible to inline it. Separating part of a larger function in a separate function in source is sometimes useful for keeping sources organized.

therontarigo avatar Nov 06 '24 23:11 therontarigo