mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 13:40:12 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user