diff options
author | jmarshallnz <jmarshallnz@svn> | 2009-11-03 05:00:36 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2009-11-03 05:00:36 +0000 |
commit | 96ce678e8ecf67a1050678161a414fdcbadf1a7e (patch) | |
tree | 0ff93c1c3e8ceff26f832e5d7b1f719f9f00617c /guilib/Texture.cpp | |
parent | 2745c1b414e75621b77bd220cec24681d83259ad (diff) |
added: Wrappers for Direct3D resources to ensure they survive a device teardown, and support for device teardown them in the render manager. Will need MakeFile and OSX project love.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24219 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/Texture.cpp')
-rw-r--r-- | guilib/Texture.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guilib/Texture.cpp b/guilib/Texture.cpp index 997879a15d..f686d21f79 100644 --- a/guilib/Texture.cpp +++ b/guilib/Texture.cpp @@ -32,7 +32,9 @@ /************************************************************************/ CBaseTexture::CBaseTexture(unsigned int width, unsigned int height, unsigned int format) { +#ifndef HAS_DX m_texture = NULL; +#endif m_pixels = NULL; m_loadedToGPU = false; Allocate(width, height, format); |