Skip to content

Commit 460fdb9

Browse files
committed
[62.CAD] minor edits
1 parent 0f0d7bd commit 460fdb9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

62_CAD/DrawBuffers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void DrawBuffersFiller::drawPolyline(const CPolylineBase& polyline, const CPULin
136136
uint32_t mainObjIdx;
137137
addMainObject_SubmitIfNeeded(mainObj, mainObjIdx, intendedNextSubmit);
138138

139-
return drawPolyline(polyline, mainObjIdx, intendedNextSubmit);
139+
drawPolyline(polyline, mainObjIdx, intendedNextSubmit);
140140
}
141141

142142
void DrawBuffersFiller::drawPolyline(const CPolylineBase& polyline, const uint32_t polylineMainObjIdx, nbl::video::SIntendedSubmitInfo& intendedNextSubmit)

62_CAD/DrawBuffers.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ struct DrawBuffersFiller
4141

4242
void allocateCustomClipProjectionBuffer(nbl::video::ILogicalDevice* logicalDevice, uint32_t ClipProjectionDataCount);
4343

44-
// TODO
45-
//uint32_t getIndexCount() const { return currentIndexCount; }
46-
4744
//! this function fills buffers required for drawing a polyline and submits a draw through provided callback when there is not enough memory.
4845
void drawPolyline(
4946
const CPolylineBase& polyline,

0 commit comments

Comments
 (0)