Module: Mesa
Branch: master
Commit: 56282d79f631e871cafe0fa7780d103ea31829ed
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=56282d79f631e871cafe0fa7780d103ea31829ed

Author: Michal Krol <mic...@vmware.com>
Date:   Mon Mar 16 16:07:55 2009 +0100

python: size is not a member of pipe_constant_buffer any more.

---

 src/gallium/state_trackers/python/p_context.i |    1 -
 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 d1729a4..8960e63 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);
    }
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to