summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/trace/tr_context.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-07 13:20:02 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-07 18:58:30 +0100
commitf2e19c34e06dfc33557a481f764fc75a5aef15ff (patch)
treea949e481b7c701c50f1456074beff4beef6ffccf /src/gallium/drivers/trace/tr_context.h
parentc76d86f0abfa09a241370af024c806b8a0005850 (diff)
trace: Trace pipe context calls.
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.h')
-rw-r--r--src/gallium/drivers/trace/tr_context.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/trace/tr_context.h b/src/gallium/drivers/trace/tr_context.h
index 75b8d11a7a..80fb5980d6 100644
--- a/src/gallium/drivers/trace/tr_context.h
+++ b/src/gallium/drivers/trace/tr_context.h
@@ -38,21 +38,21 @@ struct trace_context
{
struct pipe_context base;
- /* TODO */
+ struct pipe_context *pipe;
};
static INLINE struct trace_context *
-trace_context(struct pipe_context *context)
+trace_context(struct pipe_context *pipe)
{
- assert(context);
- return (struct trace_context *)context;
+ assert(pipe);
+ return (struct trace_context *)pipe;
}
struct pipe_context *
-trace_context_create(struct pipe_context *context);
+trace_context_create(struct pipe_context *pipe);
#endif /* TR_CONTEXT_H_ */