mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 18:32:02 +00:00
Massive style & comment cleanup of (mostly) GL plugin - also split some large files. A minor speedup for BP writes - merged the two switch()-es.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@899 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4477f77cf6
commit
dcbc8e78d4
45 changed files with 1288 additions and 1554 deletions
|
@ -30,6 +30,7 @@
|
|||
#endif
|
||||
|
||||
#include "Profiler.h"
|
||||
#include "ImageWrite.h"
|
||||
|
||||
#include "Render.h"
|
||||
|
||||
|
@ -161,8 +162,8 @@ void TextureMngr::Cleanup()
|
|||
}
|
||||
|
||||
std::map<u32, DEPTHTARGET>::iterator itdepth = mapDepthTargets.begin();
|
||||
while(itdepth != mapDepthTargets.end()) {
|
||||
if( frameCount > 20 + itdepth->second.framecount) {
|
||||
while (itdepth != mapDepthTargets.end()) {
|
||||
if (frameCount > 20 + itdepth->second.framecount) {
|
||||
#ifdef _WIN32
|
||||
itdepth = mapDepthTargets.erase(itdepth);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue