fix a bug when quiting dummy engine under compoisiting schema

This commit is contained in:
Vincent Wei
2022-09-25 22:13:27 +08:00
parent 2df5352356
commit 4b2503e614
+2
View File
@@ -325,7 +325,9 @@ static void DUMMY_VideoQuit(_THIS)
}
#else
if (this->screen->pixels != NULL) {
#if !defined(_MGRM_PROCESSES)
free (this->screen->pixels);
#endif
this->screen->pixels = NULL;
}
#endif /* not (defined(_MGRM_PROCESSES) && defined (_MGSCHEMA_SHAREDFB)) */