Rename struct field 'private' to 'priv'.
This broke the LLVM build because 'private' is a C++ keyword.
This commit is contained in:
@@ -212,7 +212,7 @@ intelCreateContext(const __GLcontextModes * visual,
|
||||
}
|
||||
}
|
||||
|
||||
pipe->private = intel;
|
||||
pipe->priv = intel;
|
||||
|
||||
intel->st = st_create_context(pipe, visual, st_share);
|
||||
|
||||
|
||||
@@ -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 * );
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user