python: size is not a member of pipe_constant_buffer any more.
authorMichal Krol <michal@vmware.com>
Mon, 16 Mar 2009 15:07:55 +0000 (16:07 +0100)
committerMichal Krol <michal@vmware.com>
Mon, 16 Mar 2009 15:12:02 +0000 (16:12 +0100)
src/gallium/state_trackers/python/p_context.i

index d1729a4..8960e63 100644 (file)
@@ -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);
    }