GSdx: cleaned up some obsolete code

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1331 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 committed 2009-06-05 15:15:02 +00:00
1 parent 3f97423a30
commit 01d1573fdc
13 files changed
+64 -338

No files matched your search

-14
View File
@@ -22,11 +22,6 @@
#include "stdafx.h"
#include "GSTexture10.h"
GSTexture10::GSTexture10()
{
memset(&m_desc, 0, sizeof(m_desc));
}
GSTexture10::GSTexture10(ID3D10Texture2D* texture)
: m_texture(texture)
{
@@ -36,10 +31,6 @@ GSTexture10::GSTexture10(ID3D10Texture2D* texture)
m_texture->GetDesc(&m_desc);
}
GSTexture10::~GSTexture10()
{
}
GSTexture10::operator bool()
{
return !!m_texture;
@@ -174,11 +165,6 @@ bool GSTexture10::Save(const string& fn, bool dds)
return SUCCEEDED(D3DX10SaveTextureToFile(res, dds ? D3DX10_IFF_DDS : D3DX10_IFF_BMP, fn.c_str()));
}
ID3D10Texture2D* GSTexture10::operator->()
{
return m_texture;
}
GSTexture10::operator ID3D10Texture2D*()
{
return m_texture;