aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2007-11-08 13:10:18 +0100
committerMichel Dänzer <[email protected]>2007-11-08 13:10:18 +0100
commit3871d2882a5e3ae8aafe3206603e095cc90761b5 (patch)
tree84b5a35510a552bcdc31cbea9e90fbaefd9a6e23
parent6400658d7154f33b8fe2e7d638ebb317ac6bfff8 (diff)
Rename struct field 'private' to 'priv'.
This broke the LLVM build because 'private' is a C++ keyword.
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_context.c2
-rw-r--r--src/mesa/pipe/p_context.h2
-rw-r--r--src/mesa/state_tracker/st_cb_flush.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_context.c b/src/mesa/drivers/dri/intel_winsys/intel_context.c
index 480350492f1..c033f2a592c 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_context.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_context.c
@@ -212,7 +212,7 @@ intelCreateContext(const __GLcontextModes * visual,
}
}
- pipe->private = intel;
+ pipe->priv = intel;
intel->st = st_create_context(pipe, visual, st_share);
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index 3962c0fa6d8..48356bd0e64 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -43,7 +43,7 @@ struct pipe_state_cache;
struct pipe_context {
struct pipe_winsys *winsys;
- void *private; /** context private data (for DRI for example) */
+ void *priv; /** context private data (for DRI for example) */
void (*destroy)( struct pipe_context * );
diff --git a/src/mesa/state_tracker/st_cb_flush.c b/src/mesa/state_tracker/st_cb_flush.c
index 39a9f29bca8..95149a32006 100644
--- a/src/mesa/state_tracker/st_cb_flush.c
+++ b/src/mesa/state_tracker/st_cb_flush.c
@@ -72,7 +72,7 @@ void st_flush( struct st_context *st, uint pipeFlushFlags )
/* Hook for copying "fake" frontbuffer if necessary:
*/
st->pipe->winsys->flush_frontbuffer( st->pipe->winsys, front_surf,
- st->pipe->private );
+ st->pipe->priv );
st->flags.frontbuffer_dirty = 0;
}
}