diff --git a/3d-viewer/3d_rendering/legacy/3d_model.cpp b/3d-viewer/3d_rendering/legacy/3d_model.cpp index 4c2fa956b1..30e00c8fa9 100644 --- a/3d-viewer/3d_rendering/legacy/3d_model.cpp +++ b/3d-viewer/3d_rendering/legacy/3d_model.cpp @@ -492,7 +492,7 @@ void MODEL_3D::DrawBbox() const reinterpret_cast( offsetof( VERTEX, m_color ) ) ); glDrawElements( GL_LINES, bbox_idx_count, m_bbox_index_buffer_type, - reinterpret_cast( NULL ) ); + reinterpret_cast( 0 ) ); }