summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/tests/graw/occlusion-query.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:45:43 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-11-22 02:45:43 +0000
commit2ba37c52131b39d6d0ec2452a95ea7a9d7ea6b8f (patch)
tree2da543a02115219d34deffe911226f3f85f443ac /lib/mesa/src/gallium/tests/graw/occlusion-query.c
parente7a2786346bc6e40b27248cf122036d8c701fa22 (diff)
import Mesa 11.0.6
Diffstat (limited to 'lib/mesa/src/gallium/tests/graw/occlusion-query.c')
-rw-r--r--lib/mesa/src/gallium/tests/graw/occlusion-query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/tests/graw/occlusion-query.c b/lib/mesa/src/gallium/tests/graw/occlusion-query.c
index 444b645ca..d03934f9d 100644
--- a/lib/mesa/src/gallium/tests/graw/occlusion-query.c
+++ b/lib/mesa/src/gallium/tests/graw/occlusion-query.c
@@ -94,7 +94,7 @@ set_vertices(struct vertex *vertices, unsigned bytes)
vbuf.stride = sizeof(struct vertex);
vbuf.buffer_offset = 0;
- vbuf.buffer.resource = pipe_buffer_create_with_data(info.ctx,
+ vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
PIPE_BIND_VERTEX_BUFFER,
PIPE_USAGE_DEFAULT,
bytes,