Skip to content
Snippets Groups Projects
Verified Commit 1d5ed1ef authored by dos's avatar dos
Browse files

simulator: Use a single framebuffer for drawing

parent f411dec3
No related branches found
No related tags found
1 merge request!600Simulator improvements
......@@ -527,7 +527,7 @@ _sim = Simulation()
class FramebufferManager:
def __init__(self):
self._free = []
for _ in range(2):
for _ in range(1):
fb, c = ctx._wasm.ctx_new_for_framebuffer(240, 240)
ctx._wasm.ctx_apply_transform(c, 1, 0, 120, 0, 1, 120, 0, 0, 1)
self._free.append((fb, c))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment