mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Prepare for array-index based devPrivates.
TODO: static indices can be made just an int; some indices can be combined.
This commit is contained in:
committed by
Eamon Walsh
parent
ec7907f8fa
commit
ebea78cdba
@@ -43,11 +43,15 @@
|
||||
#define CW_ASSERT(x) do {} while (0)
|
||||
#endif
|
||||
|
||||
DevPrivateKey cwGCKey = &cwGCKey;
|
||||
DevPrivateKey cwScreenKey = &cwScreenKey;
|
||||
DevPrivateKey cwWindowKey = &cwWindowKey;
|
||||
static int cwGCKeyIndex;
|
||||
DevPrivateKey cwGCKey = &cwGCKeyIndex;
|
||||
static int cwScreenKeyIndex;
|
||||
DevPrivateKey cwScreenKey = &cwScreenKeyIndex;
|
||||
static int cwWindowKeyIndex;
|
||||
DevPrivateKey cwWindowKey = &cwWindowKeyIndex;
|
||||
#ifdef RENDER
|
||||
DevPrivateKey cwPictureKey = &cwPictureKey;
|
||||
static int cwPictureKeyIndex;
|
||||
DevPrivateKey cwPictureKey = &cwPictureKeyIndex;
|
||||
#endif
|
||||
extern GCOps cwGCOps;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user