Merge pull request from JayFoxRox/attribute-fix

Use newly converted buffer after conversion
This commit is contained in:
espes 2015-07-14 02:41:18 +10:00
commit c82a15d28e
1 changed files with 1 additions and 1 deletions
hw/xbox

View File

@ -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,