From 4c74418b1d97b2e9f7daeea365d5018db199fca7 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Wed, 2 Mar 2022 15:36:24 -0700 Subject: Ensure one test is added Mount and export make --- src/graphics/lfb.c | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) (limited to 'src/graphics') diff --git a/src/graphics/lfb.c b/src/graphics/lfb.c index 8f7ad06..8c9c395 100644 --- a/src/graphics/lfb.c +++ b/src/graphics/lfb.c @@ -3,12 +3,9 @@ #include #include #include -#include unsigned char *lfb; /* raw frame buffer address */ -//#define SCR_WIDTH 1024 -//#define SCR_HEIGHT 768 #define SCR_WIDTH 1920 #define SCR_HEIGHT 1080 @@ -92,21 +89,10 @@ void clear_screen(void) void lfb_showpicture(void) { clear_screen(); - unsigned int x,y; - unsigned char *ptr=lfb; - char *data=toad_data, pixel[4]; - - ptr = lfb + (gheight-toad_height)*gpitch + (gwidth-toad_width)*4; - for(y=0;y