This commit is contained in:
Glenn Maynard
2003-06-28 02:27:27 +00:00
parent 55705d34d7
commit b605e46dbf
-11
View File
@@ -931,9 +931,6 @@ void RageDisplay_D3D::UpdateTexture(
rect.bottom = height - yoffset;
D3DLOCKED_RECT lr;
pTex->LockRect( 0, &lr, &rect, 0 );
// copy each row
@@ -945,14 +942,6 @@ void RageDisplay_D3D::UpdateTexture(
memcpy( dst, src, (rect.right-rect.left)*bytes_per_pixel );
}
pTex->UnlockRect( 0 );
// SDL_SaveBMP( (SDL_Surface*)img, "testing-SDL.bmp" );
// D3DXSaveTextureToFile(
// "testing-D3D.bmp",
// D3DXIFF_BMP,
// pTex,
// NULL );
}
void RageDisplay_D3D::SetAlphaTest( bool b )