summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/noop
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-12-04 17:30:08 -0800
committerVinson Lee <vlee@vmware.com>2010-12-04 17:30:08 -0800
commite72651dc5d70ed97e460e52ace692a70b3c9b50f (patch)
treeeb7e1f9de026da5ec193a0d7975c2640f19d9234 /src/gallium/drivers/noop
parentafb80c531530d0ff4c0efbc9f728f99a87165d8e (diff)
gallium/noop: Add prototype for noop_init_state_functions.
Silences this GCC warning. noop_state.c:247: warning: no previous prototype for 'noop_init_state_functions'
Diffstat (limited to 'src/gallium/drivers/noop')
-rw-r--r--src/gallium/drivers/noop/noop_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/noop/noop_state.c b/src/gallium/drivers/noop/noop_state.c
index 5c62fc12d8b..ad324774c03 100644
--- a/src/gallium/drivers/noop/noop_state.c
+++ b/src/gallium/drivers/noop/noop_state.c
@@ -243,6 +243,8 @@ static void *noop_create_shader_state(struct pipe_context *ctx,
return nstate;
}
+void noop_init_state_functions(struct pipe_context *ctx);
+
void noop_init_state_functions(struct pipe_context *ctx)
{
ctx->create_blend_state = noop_create_blend_state;