mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-11 16:50:05 +01:00
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:
1 parent
3f97423a30
commit
01d1573fdc
13 files changed
+64
-338
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user