diff --git a/ion/src/simulator/shared/display.cpp b/ion/src/simulator/shared/display.cpp index a540fa008..798a68f0b 100644 --- a/ion/src/simulator/shared/display.cpp +++ b/ion/src/simulator/shared/display.cpp @@ -12,6 +12,7 @@ namespace Display { static SDL_Texture * sFramebufferTexture = nullptr; void init(SDL_Renderer * renderer) { + Framebuffer::setActive(true); Uint32 texturePixelFormat = SDL_PIXELFORMAT_RGB565; assert(sizeof(KDColor) == SDL_BYTESPERPIXEL(texturePixelFormat)); sFramebufferTexture = SDL_CreateTexture( diff --git a/ion/src/simulator/shared/framebuffer.cpp b/ion/src/simulator/shared/framebuffer.cpp index 75e45796d..714f3f3c8 100644 --- a/ion/src/simulator/shared/framebuffer.cpp +++ b/ion/src/simulator/shared/framebuffer.cpp @@ -14,7 +14,7 @@ * framebuffer to a PNG file. */ static KDColor sPixels[Ion::Display::Width * Ion::Display::Height]; -static bool sFrameBufferActive = true; +static bool sFrameBufferActive = false; namespace Ion { namespace Display {