From f34954e6e8fb819e3ad7e968243e2f5468066526 Mon Sep 17 00:00:00 2001 From: Jannik Vogel Date: Mon, 13 Jul 2015 12:16:03 +0200 Subject: [PATCH] Use newly converted buffer after conversion --- hw/xbox/nv2a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xbox/nv2a.c b/hw/xbox/nv2a.c index c75abf1bd5..366db8a564 100644 --- a/hw/xbox/nv2a.c +++ b/hw/xbox/nv2a.c @@ -1835,7 +1835,7 @@ static void pgraph_bind_vertex_attributes(NV2AState *d, glBindBuffer(GL_ARRAY_BUFFER, attribute->gl_converted_buffer); glBufferData(GL_ARRAY_BUFFER, num_elements * out_stride, - data, + attribute->converted_buffer, GL_DYNAMIC_DRAW); glVertexAttribPointer(i,