mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 17:30:04 -05:00
Fix performance window access to SharedMemory
This commit is contained in:
@@ -87,7 +87,7 @@ void GuiPerformanceComponent::render() {
|
||||
_performanceMemory = new ghoul::SharedMemory(RenderEngine::PerformanceMeasurementSharedData);
|
||||
|
||||
|
||||
void* ptr = _performanceMemory;
|
||||
void* ptr = _performanceMemory->memory();
|
||||
PerformanceLayout* layout = reinterpret_cast<PerformanceLayout*>(ptr);
|
||||
|
||||
for (int i = 0; i < layout->nEntries; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user