summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-09-25 15:48:41 -0700
committerKenneth Graunke <kenneth@whitecape.org>2013-10-13 00:10:43 -0700
commit3f7b4e5d04cf9f0274ddcd37d573eb96f835278e (patch)
tree1f13774c09c4cf5694875639ab09c42c473a4d91
parent95bd8a332d1c3f868d8e4ff454fb308acd9beed9 (diff)
i965: Rename brwCreateContext's error parameter to dri_ctx_error.
"error" is a very generic name. dri_ctx_error is the name used in intelInitContext(), which is more specific. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 5d5f41a32fe..5494fcd6324 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -282,7 +282,7 @@ brwCreateContext(gl_api api,
unsigned major_version,
unsigned minor_version,
uint32_t flags,
- unsigned *error,
+ unsigned *dri_ctx_error,
void *sharedContextPrivate)
{
__DRIscreen *sPriv = driContextPriv->driScreenPriv;
@@ -292,7 +292,7 @@ brwCreateContext(gl_api api,
struct brw_context *brw = rzalloc(NULL, struct brw_context);
if (!brw) {
printf("%s: failed to alloc context\n", __FUNCTION__);
- *error = __DRI_CTX_ERROR_NO_MEMORY;
+ *dri_ctx_error = __DRI_CTX_ERROR_NO_MEMORY;
return false;
}
@@ -310,7 +310,7 @@ brwCreateContext(gl_api api,
if (!intelInitContext( brw, api, major_version, minor_version,
mesaVis, driContextPriv,
sharedContextPrivate, &functions,
- error)) {
+ dri_ctx_error)) {
intelDestroyContext(driContextPriv);
return false;
}