From 20abcd733e657c5a8f8359cc35a35cf936e2667d Mon Sep 17 00:00:00 2001 From: yellows8 Date: Sat, 30 Dec 2017 02:16:51 -0500 Subject: [PATCH] Perf adjustments for simplegfx. --- graphics/simplegfx/source/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/graphics/simplegfx/source/main.c b/graphics/simplegfx/source/main.c index 76fca21..1bc8a98 100644 --- a/graphics/simplegfx/source/main.c +++ b/graphics/simplegfx/source/main.c @@ -14,6 +14,7 @@ int main(int argc, char **argv) u32 image_width = 1280, image_height = 720; u32 tmp_width, tmp_height; u32 x, y; + u32 j; u32 pos; u32 pos2; u8 *imageptr = (u8*)image_bin; @@ -52,14 +53,14 @@ int main(int argc, char **argv) if(tmp_height > height) tmp_height = height; memset(framebuf, 0xff, gfxGetFramebufferSize()); - for(x=0; x