Skip to content

Commit

Permalink
Renderer|DGL: Use appropriate usage hint on vertex data
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 27, 2017
1 parent 5c3b334 commit 44564ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/apps/client/src/gl/dgl_draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ struct DGLDrawState

// Upload the vertex data.
GLData::DrawBuffer &buf = nextBuffer();
buf.arrayData.setData(&vertices[0], sizeof(Vertex) * vertices.size(), gl::Dynamic);
buf.arrayData.setData(&vertices[0], sizeof(Vertex) * vertices.size(), gl::Stream);

GL.glBindVertexArray(buf.vertexArray);
LIBGUI_ASSERT_GL_OK();
Expand Down

0 comments on commit 44564ce

Please sign in to comment.