Rename struct field 'private' to 'priv'.

This broke the LLVM build because 'private' is a C++ keyword.
This commit is contained in:
Michel Dänzer
2007-11-08 13:10:18 +01:00
parent 6400658d71
commit 3871d2882a
3 changed files with 3 additions and 3 deletions
@@ -212,7 +212,7 @@ intelCreateContext(const __GLcontextModes * visual,
}
}
pipe->private = intel;
pipe->priv = intel;
intel->st = st_create_context(pipe, visual, st_share);
+1 -1
View File
@@ -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 * );
+1 -1
View File
@@ -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;
}
}