Fix xy_to_indx in VGA driver
This commit is contained in:
parent
ee9839beaa
commit
00b1770afa
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user