dmx: fix a segfault caused by GC devPrivates never being initalised.
This commit is contained in:
parent
d10ba4591a
commit
6f1d5147cb
|
@ -85,6 +85,8 @@ static GCOps dmxGCOps = {
|
|||
/** Initialize the GC on \a pScreen */
|
||||
Bool dmxInitGC(ScreenPtr pScreen)
|
||||
{
|
||||
if (!dixRequestPrivate(dmxGCPrivateKey, sizeof(dmxGCPrivRec)))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user