summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-03-16 16:07:55 +0100
committerMichal Krol <michal@vmware.com>2009-03-16 16:12:02 +0100
commit56282d79f631e871cafe0fa7780d103ea31829ed (patch)
tree19fd4a4fa66a7fc507ac003bdd2d7c6b4f20cd49
parent5ad17215405700accc2a2cde04a0023725633c57 (diff)
python: size is not a member of pipe_constant_buffer any more.
-rw-r--r--src/gallium/state_trackers/python/p_context.i1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i
index d1729a4687..8960e6316c 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -121,7 +121,6 @@ struct st_context {
struct pipe_constant_buffer state;
memset(&state, 0, sizeof(state));
state.buffer = buffer ? buffer->buffer : NULL;
- state.size = buffer->buffer->size;
$self->pipe->set_constant_buffer($self->pipe, shader, index, &state);
}