aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/drivers/dri/common/dri_util.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-09-12 08:58:44 +0200
committermarha <marha@users.sourceforge.net>2011-09-12 08:58:44 +0200
commit24a692ce832161d3b794110dd82b1508d38a0887 (patch)
tree388d2fd8dc707763d6ffea7edfa2a6a1410c7c5e /mesalib/src/mesa/drivers/dri/common/dri_util.c
parentf9cf11136d65f20aab4fb6d5fc3ec3c59185a0b4 (diff)
downloadvcxsrv-24a692ce832161d3b794110dd82b1508d38a0887.tar.gz
vcxsrv-24a692ce832161d3b794110dd82b1508d38a0887.tar.bz2
vcxsrv-24a692ce832161d3b794110dd82b1508d38a0887.zip
git update 12 sep 2011
Diffstat (limited to 'mesalib/src/mesa/drivers/dri/common/dri_util.c')
-rw-r--r--mesalib/src/mesa/drivers/dri/common/dri_util.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/mesalib/src/mesa/drivers/dri/common/dri_util.c b/mesalib/src/mesa/drivers/dri/common/dri_util.c
index 82638fa72..6d6401934 100644
--- a/mesalib/src/mesa/drivers/dri/common/dri_util.c
+++ b/mesalib/src/mesa/drivers/dri/common/dri_util.c
@@ -418,6 +418,7 @@ driCreateNewDrawable(__DRIscreen *psp, const __DRIconfig *config,
* supported either.
*/
(void) attrs;
+ (void) renderType;
pdp = malloc(sizeof *pdp);
if (!pdp) {
@@ -594,8 +595,10 @@ driDestroyContext(__DRIcontext *pcp)
/**
* Create the per-drawable private driver information.
*
- * \param render_type Type of rendering target. \c GLX_RGBA is the only
+ * \param render_type Type of rendering target. \c GLX_RGBA_TYPE is the only
* type likely to ever be supported for direct-rendering.
+ * However, \c GLX_RGBA_FLOAT_TYPE_ARB may eventually be
+ * supported by some drivers.
* \param shared Context with which to share textures, etc. or NULL
*
* \returns An opaque pointer to the per-context private information on
@@ -616,6 +619,8 @@ driCreateNewContext(__DRIscreen *psp, const __DRIconfig *config,
__DRIcontext *pcp;
void * const shareCtx = (shared != NULL) ? shared->driverPrivate : NULL;
+ (void) render_type;
+
pcp = malloc(sizeof *pcp);
if (!pcp)
return NULL;
@@ -700,6 +705,9 @@ dri2CreateNewContext(__DRIscreen *screen, const __DRIconfig *config,
static int
driCopyContext(__DRIcontext *dest, __DRIcontext *src, unsigned long mask)
{
+ (void) dest;
+ (void) src;
+ (void) mask;
return GL_FALSE;
}
@@ -806,6 +814,8 @@ driCreateNewScreen(int scrn,
static const __DRIextension *emptyExtensionList[] = { NULL };
__DRIscreen *psp;
+ (void) loaderPrivate;
+
if (driDriverAPI.InitScreen == NULL)
return NULL;