diff options
author | Zack Rusin <zackr@vmware.com> | 2009-11-10 13:51:49 -0500 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-11-10 19:42:03 -0500 |
commit | d2c886c8caf52c1e3581af350fd23ecf839a2491 (patch) | |
tree | 4bf4ced996d386bc4d64e036a10afe06950a42f1 /src/gallium/state_trackers/xorg/xorg_renderer.h | |
parent | e08512f3d4e318d0776f58296d7f7dae4c5524ad (diff) |
st/xorg: cleanup the naming
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_renderer.h')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_renderer.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_renderer.h b/src/gallium/state_trackers/xorg/xorg_renderer.h index 6b658fdbe8..2f0b865dbd 100644 --- a/src/gallium/state_trackers/xorg/xorg_renderer.h +++ b/src/gallium/state_trackers/xorg/xorg_renderer.h @@ -24,10 +24,12 @@ struct xorg_renderer { struct pipe_constant_buffer vs_const_buffer; struct pipe_constant_buffer fs_const_buffer; - float vertices[BUF_SIZE]; - int num_vertices; + float buffer[BUF_SIZE]; + int buffer_size; - int num_attributes; + /* number of attributes per vertex for the current + * draw operation */ + int attrs_per_vertex; }; struct xorg_renderer *renderer_create(struct pipe_context *pipe); |