Fix incorrect assignment for video buffer in renderer

This commit is contained in:
Simon Robertshaw 2012-07-04 16:22:22 +01:00
parent c996d01228
commit 94c9603d0c

View File

@ -1930,7 +1930,7 @@ Renderer::Renderer(Graphics * g, Simulation * sim):
#if defined(OGLI) #if defined(OGLI)
vid = new pixel[VIDXRES*VIDYRES]; vid = new pixel[VIDXRES*VIDYRES];
#else #else
vid = vid; vid = g->vid;
#endif #endif
#endif #endif