Commit dfda3c4d authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

d3d9: Fix copy and paste error in reset_enum_callback.

vertex_desc.Pool should obviously be used in the WINED3DRTYPE_VERTEXBUFFER case instead of index_desc.Pool.
parent c6c205a1
......@@ -283,7 +283,7 @@ static HRESULT WINAPI reset_enum_callback(IWineD3DResource *resource, void *data
case WINED3DRTYPE_VERTEXBUFFER:
IWineD3DVertexBuffer_GetDesc((IWineD3DVertexBuffer *) resource, &vertex_desc);
pool = index_desc.Pool;
pool = vertex_desc.Pool;
break;
/* No need to check for textures. If there is a D3DPOOL_DEFAULT texture, there
......
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