Fix for the hang after close caused by my previews perf queries commit.

Sorry for that.
fix issue 6205
This commit is contained in:
Rodolfo Bogado
2013-04-04 12:53:06 -03:00
parent e11f5630b1
commit d032f3fd79
4 changed files with 24 additions and 12 deletions

View File

@ -17,6 +17,8 @@ public:
u32 GetQueryResult(PerfQueryType type);
void FlushResults();
bool IsFlushed() const;
void CreateDeviceObjects();
void DestroyDeviceObjects();
private:
struct ActiveQuery
@ -25,8 +27,7 @@ private:
PerfQueryGroup query_type;
};
void WeakFlush();
void WeakFlush();
// Only use when non-empty
void FlushOne();