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:
parent
2c55a8a9d9
commit
9f02999947
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user