sync and add missing code for ToolChains

This commit is contained in:
purplerain 2023-05-01 20:06:12 +00:00
parent f5f0d5c82b
commit 01bad5edf2
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
44 changed files with 3514 additions and 2673 deletions

View file

@ -1428,6 +1428,9 @@ int drm_fb_helper_check_var(struct fb_var_screeninfo *var,
return -EINVAL;
}
var->xres_virtual = fb->width;
var->yres_virtual = fb->height;
/*
* Workaround for SDL 1.2, which is known to be setting all pixel format
* fields values to zero in some cases. We treat this situation as a