16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 04:39:18 +02:00

show gpu rendering time

This commit is contained in:
milek7
2018-02-21 21:08:59 +01:00
parent 65fb5c6991
commit e65ad28693
2 changed files with 31 additions and 3 deletions

View File

@@ -390,6 +390,8 @@ private:
#ifdef EU07_USE_DEBUG_CAMERA
renderpass_config m_worldcamera; // debug item
#endif
GLuint m_gltimequery = 0;
GLuint64 m_gllasttime = 0;
};
extern opengl_renderer GfxRenderer;