{
LOG_UPDATE_RENDER_TRACE;
+ bool uploadOnly = mUploadWithoutRendering;
+
// Performance statistics are logged upon a VSYNC tick so use this point for a VSync marker
AddPerformanceMarker( PerformanceInterface::VSYNC );
updateStatus,
renderToFboEnabled,
isRenderingToFbo,
- mUploadWithoutRendering);
+ uploadOnly);
AddPerformanceMarker( PerformanceInterface::UPDATE_END );
unsigned int keepUpdatingStatus = updateStatus.KeepUpdating();
AddPerformanceMarker( PerformanceInterface::RENDER_START );
// Upload shared resources
- mCore.PreRender( renderStatus, mForceClear, mUploadWithoutRendering );
+ mCore.PreRender( renderStatus, mForceClear, uploadOnly );
- if ( !mUploadWithoutRendering )
+ if ( !uploadOnly )
{
// Go through each window
WindowContainer windows;
}
}
- mCore.PostRender( mUploadWithoutRendering );
+ mCore.PostRender( uploadOnly );
//////////////////////////////
// DELETE SURFACE