Fixed GpuQuery bug

Also added GpuQuery::GetOpenGLID()


Former-commit-id: 2a5d01a945ffeb576b5dce6756dbffcc511c237c
This commit is contained in:
Lynix
2013-09-06 17:17:47 +02:00
parent cbd7b1c36e
commit 66a64fb71c
2 changed files with 11 additions and 1 deletions

View File

@@ -24,10 +24,14 @@ class NAZARA_API NzGpuQuery : NzNonCopyable
bool IsResultAvailable() const;
// Fonctions OpenGL
unsigned int GetOpenGLID() const;
static bool IsModeSupported(nzGpuQueryMode mode);
static bool IsSupported();
private:
nzGpuQueryMode m_mode;
unsigned int m_id;
};