From: Michal Krol Date: Mon, 16 Mar 2009 15:07:55 +0000 (+0100) Subject: python: size is not a member of pipe_constant_buffer any more. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56282d79f631e871cafe0fa7780d103ea31829ed;p=mesa.git python: size is not a member of pipe_constant_buffer any more. --- diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i index d1729a46871..8960e6316c1 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); }