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 d1729a46871cb809d2339ffa9c35df9354e48913..8960e6316c147b2cbc78ece6d7f5a7be20f00ff2 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);
    }