mirror of https://github.com/xemu-project/xemu.git
Use newly converted buffer after conversion
This commit is contained in:
parent
23c9ee9517
commit
f34954e6e8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue