aboutsummaryrefslogtreecommitdiff
path: root/guilib/TextureDX.cpp
diff options
context:
space:
mode:
authorelupus <elupus@svn>2010-05-01 11:37:56 +0000
committerelupus <elupus@svn>2010-05-01 11:37:56 +0000
commit7ad8e39cee2aeb9bf7baa07a529cf771127c4fc9 (patch)
tree5f49903ea60eb20cf8c7b04e930bfe2b084d3fca /guilib/TextureDX.cpp
parent7d6e292fcf2c6489945ffe665442e65bea4485a8 (diff)
changed: Use D3D9Ex on vista and higher if available. #8284, Thx CrystalP for patch
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29703 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
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()