diff --git a/include/PIXEvents.h b/include/PIXEvents.h index 1a9fdf0..fb53030 100644 --- a/include/PIXEvents.h +++ b/include/PIXEvents.h @@ -931,6 +931,7 @@ namespace PIXEventsDetail *eventDestination = PIXEncodeEventInfo(0, PIXEvent_EndEvent, eventSize, eventMetadata); PIXInsertGPUMarkerOnContextForEndEvent(context, PIXEvent_EndEvent, static_cast(buffer), static_cast(reinterpret_cast(destination) - reinterpret_cast(buffer))); #else + (void)destination; PIXEndGPUEventOnContext(context); #endif }