Skip to content

Commit 0434a76

Browse files
enthus1astDavid Krause (enthus1ast)
andauthored
Initialize renderer.nodes closes #92 (#94)
Signed-off-by: David Krause (enthus1ast) <[email protected]> Co-authored-by: David Krause (enthus1ast) <[email protected]>
1 parent 959a193 commit 0434a76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/figuro/renderer/opengl/renderer.nim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ proc newRenderer*(
3434
app.pixelScale = forcePixelScale
3535
let renderer = Renderer(window: window)
3636
startOpenGL(frame, window, openglVersion)
37+
renderer.nodes = Renders()
3738
renderer.frame = frame
3839
renderer.ctx =
3940
newContext(atlasSize = atlasSize, pixelate = pixelate, pixelScale = app.pixelScale)

0 commit comments

Comments
 (0)