mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-10 11:36:00 +00: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:
parent
8be70a8ed2
commit
ae5b59747a
40 changed files with 7718 additions and 7637 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue