diff options
Diffstat (limited to 'TracyOpenGL.hpp')
-rw-r--r-- | TracyOpenGL.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/TracyOpenGL.hpp b/TracyOpenGL.hpp index ae0d59ed..9c0489ea 100644 --- a/TracyOpenGL.hpp +++ b/TracyOpenGL.hpp @@ -122,19 +122,6 @@ public: tail.store( magic + 1, std::memory_order_release ); m_tail = ( m_tail + 1 ) % QueryCount; } - - { - int64_t tgpu; - glGetInteger64v( GL_TIMESTAMP, &tgpu ); - int64_t tcpu = Profiler::GetTime(); - - auto item = token->enqueue_begin<moodycamel::CanAlloc>( magic ); - MemWrite( &item->hdr.type, QueueType::GpuResync ); - MemWrite( &item->gpuResync.cpuTime, tcpu ); - MemWrite( &item->gpuResync.gpuTime, tgpu ); - MemWrite( &item->gpuResync.context, m_context ); - tail.store( magic + 1, std::memory_order_release ); - } } private: |