GSdx: Found three other instances of CComPtr that could be removed. (DX9 only)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1330 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-06-05 12:33:07 +00:00
parent c668c7c351
commit 3f97423a30
1 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ int GSTexture9::GetFormat() const
bool GSTexture9::Update(const GSVector4i& r, const void* data, int pitch)
{
if(CComPtr<IDirect3DSurface9> surface = *this)
if(IDirect3DSurface9* surface = *this)
{
D3DLOCKED_RECT lr;
@ -118,7 +118,7 @@ bool GSTexture9::Map(uint8** bits, int& pitch, const GSVector4i* r)
{
HRESULT hr;
if(CComPtr<IDirect3DSurface9> surface = *this)
if(IDirect3DSurface9* surface = *this)
{
D3DLOCKED_RECT lr;
@ -136,7 +136,7 @@ bool GSTexture9::Map(uint8** bits, int& pitch, const GSVector4i* r)
void GSTexture9::Unmap()
{
if(CComPtr<IDirect3DSurface9> surface = *this)
if(IDirect3DSurface9* surface = *this)
{
surface->UnlockRect();
}