diff options
author | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-07-13 15:01:51 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-07-13 16:26:29 -0700 |
commit | 59155f70e701bc0b4fb816da991d6921f53b3bc7 (patch) | |
tree | 7b8a71ae9f034db266398ac1934ed7e774829587 /src/gallium/drivers/r300/r300_context.h | |
parent | b3f1d370a2eeb5ae69a9d59300820d3a2e86724c (diff) |
r300g: Small compile warning fixes.
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 7a96f51e5b..d891fd6265 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -331,7 +331,8 @@ struct r300_context { }; /* Convenience cast wrapper. */ -static struct r300_context* r300_context(struct pipe_context* context) { +static INLINE struct r300_context* r300_context(struct pipe_context* context) +{ return (struct r300_context*)context; } |