Fix incorrect assignment for video buffer in renderer
This commit is contained in:
parent
c996d01228
commit
94c9603d0c
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user