summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoDX11/Src/Render.cpp
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@googlemail.com>2010-06-18 23:55:28 +0000
committerNeoBrainX <NeoBrainX@googlemail.com>2010-06-18 23:55:28 +0000
commit08d7861578da48b07286cf80be5d84fbebe52cb7 (patch)
tree12acf4822f2e6f1fc61be212cae4ac3f0fb50853 /Source/Plugins/Plugin_VideoDX11/Src/Render.cpp
parent7b58e0b4e72c18624494730996c29848bafe54ea (diff)
Include the two files added in r5741 in the VC project file as well.
Improve the way we're saving screenshots, thanks to Billiard for spotting that ;) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5742 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX11/Src/Render.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoDX11/Src/Render.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Plugins/Plugin_VideoDX11/Src/Render.cpp b/Source/Plugins/Plugin_VideoDX11/Src/Render.cpp
index 22e9aab208..5019da036f 100644
--- a/Source/Plugins/Plugin_VideoDX11/Src/Render.cpp
+++ b/Source/Plugins/Plugin_VideoDX11/Src/Render.cpp
@@ -908,10 +908,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight)
{
u32* ptr = (u32*)((u8*)map.pData + y * map.RowPitch);
for (unsigned int x = 0; x < D3D::GetBackBufferWidth(); ++x)
- {
- *ptr = 0xFF000000 | (*ptr & 0xFFFFFF);
- ptr++;
- }
+ *ptr++ |= 0xFF000000;
}
D3D::context->Unmap(buftex, 0);