mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@283 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -783,7 +783,7 @@ bool Renderer::SaveRenderTarget(const char* filename, int jpeg)
|
||||
if (bflip) {
|
||||
// swap scanlines
|
||||
vector<u32> scanline(nBackbufferWidth);
|
||||
for(u32 i = 0; i < nBackbufferHeight/2; ++i) {
|
||||
for(int i = 0; i < nBackbufferHeight/2; ++i) {
|
||||
memcpy(&scanline[0], &data[i*nBackbufferWidth], nBackbufferWidth*4);
|
||||
memcpy(&data[i*nBackbufferWidth], &data[(nBackbufferHeight-i-1)*nBackbufferWidth], nBackbufferWidth*4);
|
||||
memcpy(&data[(nBackbufferHeight-i-1)*nBackbufferWidth], &scanline[0], nBackbufferWidth*4);
|
||||
|
Reference in New Issue
Block a user