summaryrefslogtreecommitdiff
path: root/AnimationRender/F_Draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'AnimationRender/F_Draw.c')
-rw-r--r--AnimationRender/F_Draw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/AnimationRender/F_Draw.c b/AnimationRender/F_Draw.c
index fb90883..90b5986 100644
--- a/AnimationRender/F_Draw.c
+++ b/AnimationRender/F_Draw.c
@@ -4,10 +4,7 @@
#include <string.h>
void Draw_callback(Draw* self, struct FrameContext* fc) {
- if (self->startFrame <= fc->frame && fc->frame <= self->endFrame) {
- RenderFrame(fc->frameBuffer, self->callbacks, self->sizeCallbacks);
- ppm6_write(stdout, fc->frameBuffer);
- }
+ RenderFrame(fc->frameBuffer, self->callbacks, self->sizeCallbacks);
}
FrameCallback* Draw_setup(Draw obj) {