summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-03-09 16:28:59 +0100
committerRoland Scheidegger <sroland@vmware.com>2010-03-09 16:28:59 +0100
commit4d02534628e5fd4cd1231c5d742928b34067f25c (patch)
treeafee6b169846de20cfb287b6fcf2420d3070021a
parent22812421b5f394af741022f2f65ba19bc7b0aa73 (diff)
identity: fix copy & paste error
-rw-r--r--src/gallium/drivers/identity/id_context.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/identity/id_context.c b/src/gallium/drivers/identity/id_context.c
index 05a9dfab77..baf0ae4401 100644
--- a/src/gallium/drivers/identity/id_context.c
+++ b/src/gallium/drivers/identity/id_context.c
@@ -378,7 +378,7 @@ identity_delete_vs_state(struct pipe_context *_pipe,
}
-static void
+static void *
identity_create_vertex_elements_state(struct pipe_context *_pipe,
unsigned num_elements,
const struct pipe_vertex_element *vertex_elements)
@@ -386,9 +386,9 @@ identity_create_vertex_elements_state(struct pipe_context *_pipe,
struct identity_context *id_pipe = identity_context(_pipe);
struct pipe_context *pipe = id_pipe->pipe;
- pipe->create_vertex_elements_state(pipe,
- num_elements,
- vertex_elements);
+ return pipe->create_vertex_elements_state(pipe,
+ num_elements,
+ vertex_elements);
}
static void