Remove Renderer field from GraphicsFunContext

- Only decorationsEnable & blackDecorations were ever read, graphics update functions shouldn't really be aware of the renderer.
 - `sim` should ideally not be there either, but `luaGraphicsWrapper` has more going on to sort out
 - Re-format previous commit with tabs instead of spaces
This commit is contained in:
Simon Robertshaw 2024-04-07 10:00:08 +01:00
parent 2c55a8a9d9
commit 9f02999947

View File

@ -19,8 +19,8 @@ struct Particle;
struct GraphicsFuncContext
{
const Simulation *sim;
bool decorationsEnable;
bool blackDecorations;
bool decorationsEnable;
bool blackDecorations;
RNG rng;
const Particle *pipeSubcallCpart;
Particle *pipeSubcallTpart;