projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afb80c5
)
gallium/noop: Add prototype for noop_init_state_functions.
author
Vinson Lee
<vlee@vmware.com>
Sun, 5 Dec 2010 01:30:08 +0000
(17:30 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 5 Dec 2010 01:30:08 +0000
(17:30 -0800)
Silences this GCC warning.
noop_state.c:247: warning: no previous prototype for
'noop_init_state_functions'
src/gallium/drivers/noop/noop_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/noop/noop_state.c
b/src/gallium/drivers/noop/noop_state.c
index 5c62fc12d8b275d56d0c6617f7700bfbb50bc320..ad324774c0347de38f50260accf28e2f0786dd13 100644
(file)
--- 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;