mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-26 20:45:36 +08:00
restore id of semaphore set for shared znode info
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user