modify graph_gfx.setfbinfo

This commit is contained in:
houzh 2024-01-18 17:24:39 +08:00
parent cebbdb7edd
commit 9831eb08bb
2 changed files with 1 additions and 5 deletions

View File

@ -293,10 +293,6 @@ static int setfbinfo(FBSURFACE*surf) {
int rc=-1;
FBDEVICE*dev=&devs[surf->dispid];
struct fb_var_screeninfo*v=&dev->var;
v->xres = surf->width;
v->yres = surf->height;
v->xres_virtual = surf->width;
v->yres_virtual = surf->height;
v->bits_per_pixel=32;
switch(surf->format) {
case GPF_ARGB: