summaryrefslogtreecommitdiff
path: root/src/drivers/video/vga.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-15 07:25:34 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-15 07:25:34 +0200
commit04e74c89470229b57cb127ff570eea51fe6012ed (patch)
tree28604f225aa2c1e33f702bf386467f13c1eec89f /src/drivers/video/vga.c
parentedad38a5a2dca96f5bea513d11eccf1134046d47 (diff)
downloadabaos-04e74c89470229b57cb127ff570eea51fe6012ed.tar.gz
abaos-04e74c89470229b57cb127ff570eea51fe6012ed.tar.bz2
some speed tests
Diffstat (limited to 'src/drivers/video/vga.c')
-rw-r--r--src/drivers/video/vga.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/video/vga.c b/src/drivers/video/vga.c
index e3427b4..83b3578 100644
--- a/src/drivers/video/vga.c
+++ b/src/drivers/video/vga.c
@@ -262,5 +262,7 @@ void vga_draw_rectangle( vga_t *vga, const int x, const int y, const int w, cons
vga_set_pixel( vga, xx, yy, color );
}
}
+// memset( vga->mode.segment, get_color_index( color ),
+// vga->mode.x * vga->mode.y );
}