summaryrefslogtreecommitdiff
path: root/renderutil
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-07-31 09:48:44 -0700
committerJamey Sharp <jamey@minilop.net>2006-07-31 09:48:44 -0700
commit00f822a1d3b8a6980ea9dd82eb28ac5f8de67962 (patch)
tree129b237ec61f8ed58415d668c9f9c1617461a5e7 /renderutil
parent549fb666291011912a5ed8ccb7c66d675cc1fb2b (diff)
The formats argument of XCBRenderUtilFindVisualFormat must be const.
Diffstat (limited to 'renderutil')
-rw-r--r--renderutil/util.c3
-rw-r--r--renderutil/xcb_renderutil.h3
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,