mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-30 21:20:15 +02:00
Fix incorrect assignment for video buffer in renderer
This commit is contained in:
@@ -1930,7 +1930,7 @@ Renderer::Renderer(Graphics * g, Simulation * sim):
|
||||
#if defined(OGLI)
|
||||
vid = new pixel[VIDXRES*VIDYRES];
|
||||
#else
|
||||
vid = vid;
|
||||
vid = g->vid;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user