Skip to content
Snippets Groups Projects
Commit 546c55a0 authored by gofman1's avatar gofman1 Committed by Alexandre Julliard
Browse files

d3dx9: Don't pass usage flags when creating temporary texture


Some usage flags require D3DPOOL_DEFAULT (and not D3DPOOL_SYSTEMMEM),
and the usage of texture being created is overall not related to
intermediate buffer texture usage. If texture being created has
D3DUSAGE_AUTOGENMIPMAP, updating it from non autogenerated mipmap should
be fine according to MSDN (IDirect3DDevice9::UpdateTexture).

Signed-off-by: default avatarPaul Gofman <gofmanp@gmail.com>
Signed-off-by: default avatarMatteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent c0219a73
No related branches found
No related tags found
No related merge requests found
Loading
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