mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02: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:
@ -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
|
||||
|
Reference in New Issue
Block a user