From 94c9603d0ce7597cfe987bf211610ca7d325ddaa Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Wed, 4 Jul 2012 16:22:22 +0100 Subject: [PATCH] Fix incorrect assignment for video buffer in renderer --- src/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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