diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-07-31 09:48:44 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-07-31 09:48:44 -0700 |
commit | 4410d59a0c46adb198506afb7a8413245b66ca99 (patch) | |
tree | 8f9f19dece36d9502ea534c07096eb03653c038c | |
parent | 5fceffa1f57d7919cc47c535c50d3f648acb199f (diff) |
The formats argument of XCBRenderUtilFindVisualFormat must be const.
-rw-r--r-- | renderutil/util.c | 3 | ||||
-rw-r--r-- | renderutil/xcb_renderutil.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/renderutil/util.c b/renderutil/util.c index c8bf356..8e8074d 100644 --- a/renderutil/util.c +++ b/renderutil/util.c @@ -22,7 +22,8 @@ #include "xcb_renderutil.h" XCBRenderPICTVISUAL * -XCBRenderUtilFindVisualFormat (XCBRenderQueryPictFormatsRep *formats, const XCBVISUALID visual) +XCBRenderUtilFindVisualFormat (const XCBRenderQueryPictFormatsRep *formats, + const XCBVISUALID visual) { XCBRenderPICTSCREENIter screens; XCBRenderPICTDEPTHIter depths; diff --git a/renderutil/xcb_renderutil.h b/renderutil/xcb_renderutil.h index e18c879..a535eae 100644 --- a/renderutil/xcb_renderutil.h +++ b/renderutil/xcb_renderutil.h @@ -51,7 +51,8 @@ enum { }; XCBRenderPICTVISUAL * -XCBRenderUtilFindVisualFormat (XCBRenderQueryPictFormatsRep *formats, const XCBVISUALID visual); +XCBRenderUtilFindVisualFormat (const XCBRenderQueryPictFormatsRep *formats, + const XCBVISUALID visual); XCBRenderPICTFORMINFO * XCBRenderUtilFindFormat (const XCBRenderQueryPictFormatsRep *formats, |