diff options
author | marha <marha@users.sourceforge.net> | 2009-12-20 22:23:03 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-12-20 22:23:03 +0000 |
commit | c438f190eedc71ee8dd14e14fec660e98d3dc0bf (patch) | |
tree | 9f128ed0356e62d09b44a720ac20bdc60566b66e /xorg-server/render/picture.c | |
parent | d842f9ef1c88a7aad04a78613548fc0f0638ac48 (diff) | |
parent | d8432fdd4f13e9f9d1d44f5482faeb56562661a9 (diff) | |
download | vcxsrv-c438f190eedc71ee8dd14e14fec660e98d3dc0bf.tar.gz vcxsrv-c438f190eedc71ee8dd14e14fec660e98d3dc0bf.tar.bz2 vcxsrv-c438f190eedc71ee8dd14e14fec660e98d3dc0bf.zip |
svn merge ^/branches/released
Diffstat (limited to 'xorg-server/render/picture.c')
-rw-r--r-- | xorg-server/render/picture.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/xorg-server/render/picture.c b/xorg-server/render/picture.c index e1a297203..18bfea29b 100644 --- a/xorg-server/render/picture.c +++ b/xorg-server/render/picture.c @@ -41,7 +41,6 @@ #include "servermd.h" #include "picturestr.h" #include "xace.h" -#include "registry.h" static int PictureScreenPrivateKeyIndex; DevPrivateKey PictureScreenPrivateKey = &PictureScreenPrivateKeyIndex; @@ -618,19 +617,16 @@ PictureInit (ScreenPtr pScreen, PictFormatPtr formats, int nformats) if (PictureGeneration != serverGeneration) { - PictureType = CreateNewResourceType (FreePicture); + PictureType = CreateNewResourceType (FreePicture, "PICTURE"); if (!PictureType) return FALSE; - PictFormatType = CreateNewResourceType (FreePictFormat); + PictFormatType = CreateNewResourceType (FreePictFormat, "PICTFORMAT"); if (!PictFormatType) return FALSE; - GlyphSetType = CreateNewResourceType (FreeGlyphSet); + GlyphSetType = CreateNewResourceType (FreeGlyphSet, "GLYPHSET"); if (!GlyphSetType) return FALSE; PictureGeneration = serverGeneration; - RegisterResourceName (PictureType, "PICTURE"); - RegisterResourceName (PictFormatType, "PICTFORMAT"); - RegisterResourceName (GlyphSetType, "GLYPHSET"); } if (!formats) { |