diff --git a/src/Renderer.cpp b/src/Renderer.cpp index a5bc47114..a83e41ed0 100644 --- a/src/Renderer.cpp +++ b/src/Renderer.cpp @@ -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