mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-23 16:43:58 +08:00
fix a conditional compilation error
This commit is contained in:
@@ -152,9 +152,11 @@ static int FB_Available(void)
|
||||
|
||||
static void FB_DeleteDevice(GAL_VideoDevice *device)
|
||||
{
|
||||
#ifdef _MGSCHEMA_COMPOSITING
|
||||
if (device->hidden->shadow_screen) {
|
||||
GAL_FreeSurface (device->hidden->real_screen);
|
||||
}
|
||||
#endif /* _MGSCHEMA_COMPOSITING */
|
||||
|
||||
free(device->hidden);
|
||||
free(device);
|
||||
|
||||
Reference in New Issue
Block a user