summaryrefslogtreecommitdiff
path: root/render/picturestr.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-07-29 14:16:10 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-08-25 15:13:46 -0400
commit6f44a2c8a8d6e8f95681ebc7b2dd5ad9c3a02c6e (patch)
treec6a816b74263386c0cbc52934c72195bfe27be24 /render/picturestr.h
parentae7f71a8b3d6756161e55d998d6eec37d2695c98 (diff)
Refactor PictureInitIndexedFormats.
The plural version is now static, which is fine since it was only ever called from within picture post-init anyway. The body of the work is now done with a one-shot (public) function that operates on a single format at a time.
Diffstat (limited to 'render/picturestr.h')
-rw-r--r--render/picturestr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/picturestr.h b/render/picturestr.h
index 01572ec48..005c58808 100644
--- a/render/picturestr.h
+++ b/render/picturestr.h
@@ -449,7 +449,7 @@ void
PictureStoreColors (ColormapPtr pColormap, int ndef, xColorItem *pdef);
Bool
-PictureInitIndexedFormats (ScreenPtr pScreen);
+PictureInitIndexedFormat (ScreenPtr pScreen, PictFormatPtr format);
Bool
PictureSetSubpixelOrder (ScreenPtr pScreen, int subpixel);