Fix xy_to_indx in VGA driver

This commit is contained in:
pjht 2019-02-10 14:13:41 -06:00
parent ee9839beaa
commit 00b1770afa

View File

@ -1,7 +1,7 @@
#include <grub/text_fb_info.h>
#include "../vga.h"
#include <string.h>
#define xy_to_indx(x,y) ((x+(y*height))*2)
#define xy_to_indx(x,y) ((x+(y*width))*2)
char* screen;
int width;
int height;