Commit 8c8d1e4f authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Do not force dynamic usage on transformed buffers.

parent e328e24d
......@@ -450,17 +450,6 @@ static void CreateVBO(IWineD3DVertexBufferImpl *object) {
goto error;
}
/* Transformed vertices are horribly inflexible. If the app specifies an
* vertex buffer with transformed vertices in default pool without DYNAMIC
* usage assume DYNAMIC usage and print a warning. The app will have to update
* the vertices regularily for them to be useful
*/
if(((object->fvf & WINED3DFVF_POSITION_MASK) == WINED3DFVF_XYZRHW) &&
!(vboUsage & WINED3DUSAGE_DYNAMIC)) {
WARN("Application creates a vertex buffer holding transformed vertices which doesn't specify dynamic usage\n");
vboUsage |= WINED3DUSAGE_DYNAMIC;
}
/* Don't use static, because dx apps tend to update the buffer
* quite often even if they specify 0 usage
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment