summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--externals/microprofile/microprofileui.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/externals/microprofile/microprofileui.h b/externals/microprofile/microprofileui.h
index 1357a08fd..ca9fe7063 100644
--- a/externals/microprofile/microprofileui.h
+++ b/externals/microprofile/microprofileui.h
@@ -845,8 +845,6 @@ inline void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int
845 MicroProfile& S = *MicroProfileGet(); 845 MicroProfile& S = *MicroProfileGet();
846 MP_DEBUG_DUMP_RANGE(); 846 MP_DEBUG_DUMP_RANGE();
847 int nY = nBaseY - UI.nOffsetY; 847 int nY = nBaseY - UI.nOffsetY;
848 int64_t nNumBoxes = 0;
849 int64_t nNumLines = 0;
850 848
851 uint32_t nFrameNext = (S.nFrameCurrent+1) % MICROPROFILE_MAX_FRAME_HISTORY; 849 uint32_t nFrameNext = (S.nFrameCurrent+1) % MICROPROFILE_MAX_FRAME_HISTORY;
852 MicroProfileFrameState* pFrameCurrent = &S.Frames[S.nFrameCurrent]; 850 MicroProfileFrameState* pFrameCurrent = &S.Frames[S.nFrameCurrent];
@@ -1149,7 +1147,6 @@ inline void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int
1149 } 1147 }
1150 } 1148 }
1151#endif 1149#endif
1152 ++nNumBoxes;
1153 } 1150 }
1154 else 1151 else
1155 { 1152 {
@@ -1165,7 +1162,6 @@ inline void MicroProfileDrawDetailedBars(uint32_t nWidth, uint32_t nHeight, int
1165 } 1162 }
1166 nLinesDrawn[nStackPos] = nLineX; 1163 nLinesDrawn[nStackPos] = nLineX;
1167 MicroProfileDrawLineVertical(nLineX, fYStart + 0.5f, fYEnd + 0.5f, nColor|UI.nOpacityForeground); 1164 MicroProfileDrawLineVertical(nLineX, fYStart + 0.5f, fYEnd + 0.5f, nColor|UI.nOpacityForeground);
1168 ++nNumLines;
1169 } 1165 }
1170 } 1166 }
1171 nStackPos--; 1167 nStackPos--;