Fixed threading issue pointed out by unknownbrackets and made texture scaling changes apply immediately

This commit is contained in:
Peter Thoman 2013-04-30 17:20:28 +02:00 committed by Peter Thoman
parent 37a33d9daf
commit 2212e7f609
7 changed files with 26 additions and 3 deletions

View file

@ -36,6 +36,7 @@ public:
void StartFrame();
void Invalidate(u32 addr, int size, bool force);
void InvalidateAll(bool force);
void ClearNextFrame();
// FramebufferManager keeps TextureCache updated about what regions of memory
// are being rendered to. This is barebones so far.
@ -100,6 +101,8 @@ private:
typedef std::map<u64, TexCacheEntry> TexCache;
TexCache cache;
bool clearCacheNextFrame_;
template <typename T>
class SimpleBuf {
public: