Skip to content
Snippets Groups Projects
Commit dfda3c4d authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment