aboutsummaryrefslogtreecommitdiff
path: root/guilib/TextureDX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guilib/TextureDX.cpp')
-rw-r--r--guilib/TextureDX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/TextureDX.cpp b/guilib/TextureDX.cpp
index baa733c787..af8350887c 100644
--- a/guilib/TextureDX.cpp
+++ b/guilib/TextureDX.cpp
@@ -64,7 +64,7 @@ void CDXTexture::CreateTextureObject()
return;
}
- m_texture.Create(m_textureWidth, m_textureHeight, 1, 0, format, D3DPOOL_MANAGED);
+ m_texture.Create(m_textureWidth, m_textureHeight, 1, g_Windowing.DefaultD3DUsage(), format, g_Windowing.DefaultD3DPool());
}
void CDXTexture::DestroyTextureObject()