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.
This commit is contained in:
parent
c6c205a1d5
commit
dfda3c4dc8
|
@ -283,7 +283,7 @@ static HRESULT WINAPI reset_enum_callback(IWineD3DResource *resource, void *data
|
||||||
|
|
||||||
case WINED3DRTYPE_VERTEXBUFFER:
|
case WINED3DRTYPE_VERTEXBUFFER:
|
||||||
IWineD3DVertexBuffer_GetDesc((IWineD3DVertexBuffer *) resource, &vertex_desc);
|
IWineD3DVertexBuffer_GetDesc((IWineD3DVertexBuffer *) resource, &vertex_desc);
|
||||||
pool = index_desc.Pool;
|
pool = vertex_desc.Pool;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* No need to check for textures. If there is a D3DPOOL_DEFAULT texture, there
|
/* No need to check for textures. If there is a D3DPOOL_DEFAULT texture, there
|
||||||
|
|
Loading…
Reference in New Issue