restore id of semaphore set for shared znode info

This commit is contained in:
Vincent Wei
2020-01-14 12:05:56 +08:00
parent 898d457701
commit 25c57d84ba
+1 -6
View File
@@ -88,9 +88,7 @@ typedef struct tagG_RES {
Uint32 video_rmask, video_gmask, video_bmask, video_amask;
int nr_layers;
#if IS_SHAREDFB_SCHEMA
int semid_layer;
#endif
int nr_globals;
int def_nr_topmosts;
@@ -178,10 +176,7 @@ typedef G_RES* PG_RES;
#define SHAREDRES_TOPMOST_LAYER (((PG_RES)mgSharedRes)->topmost_layer)
#define SHAREDRES_NR_LAYSERS (((PG_RES)mgSharedRes)->nr_layers)
#if IS_SHAREDFB_SCHEMA
# define SHAREDRES_SEMID_LAYER (((PG_RES)mgSharedRes)->semid_layer)
#endif
#define SHAREDRES_SEMID_LAYER (((PG_RES)mgSharedRes)->semid_layer)
#define SHAREDRES_NR_GLOBALS (((PG_RES)mgSharedRes)->nr_globals)
#define SHAREDRES_DEF_NR_TOPMOSTS (((PG_RES)mgSharedRes)->def_nr_topmosts)