summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_renderer.h
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-11-06 00:17:43 -0500
committerZack Rusin <zackr@vmware.com>2009-11-06 00:19:54 -0500
commit25728860fcb65b53cf7212d54d39a01a3dc90a49 (patch)
treeac483c97e725b6e6b251364e30cf81294d6bd432 /src/gallium/state_trackers/xorg/xorg_renderer.h
parentd971069fc6f5dcec64b1f1a60a8a2e7063aaf018 (diff)
st/xorg: unify vertex buffer handling
first step on our way to batching
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_renderer.h')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_renderer.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_renderer.h b/src/gallium/state_trackers/xorg/xorg_renderer.h
index 34c9ee4541..f92f186eb6 100644
--- a/src/gallium/state_trackers/xorg/xorg_renderer.h
+++ b/src/gallium/state_trackers/xorg/xorg_renderer.h
@@ -16,9 +16,7 @@ struct xorg_renderer {
struct pipe_constant_buffer vs_const_buffer;
struct pipe_constant_buffer fs_const_buffer;
- /* we should combine these three */
- float vertices2[4][2][4];
- float vertices3[4][3][4];
+ float vertices[4*3*4];
};
struct xorg_renderer *renderer_create(struct pipe_context *pipe);