add CopyVideoInfoToSharedRes method in GAL engine for PROCS and calling this method to copy the video info to shared resource segment when the process is the server

This commit is contained in:
Vincent Wei
2020-03-16 17:38:50 +08:00
parent 072ac4e166
commit f8ced41de6
8 changed files with 60 additions and 19 deletions
+2
View File
@@ -501,6 +501,8 @@ int InitGUI (int argc, const char* agr[])
SHAREDRES_VIDEO_GMASK = __gal_screen->format->Gmask;
SHAREDRES_VIDEO_BMASK = __gal_screen->format->Bmask;
SHAREDRES_VIDEO_AMASK = __gal_screen->format->Amask;
GAL_CopyVideoInfoToSharedRes();
}
else {
_DBG_PRINTF("Engien info from shared resource: %s %s %d\n",