Removed obsolete code leading to assert on MAC

This commit is contained in:
enricoturri1966 2022-07-13 13:31:36 +02:00
parent 9fc2d5b337
commit da0a5b5cfb
2 changed files with 0 additions and 6 deletions

View File

@ -758,11 +758,6 @@ void GCodeViewer::init()
// initializes tool marker
m_sequential_view.marker.init();
// initializes point sizes
std::array<int, 2> point_sizes;
::glGetIntegerv(GL_ALIASED_POINT_SIZE_RANGE, point_sizes.data());
m_detected_point_sizes = { static_cast<float>(point_sizes[0]), static_cast<float>(point_sizes[1]) };
m_gl_data_initialized = true;
}

View File

@ -809,7 +809,6 @@ private:
#if ENABLE_GCODE_VIEWER_STATISTICS
Statistics m_statistics;
#endif // ENABLE_GCODE_VIEWER_STATISTICS
std::array<float, 2> m_detected_point_sizes = { 0.0f, 0.0f };
GCodeProcessorResult::SettingsIds m_settings_ids;
std::array<SequentialRangeCap, 2> m_sequential_range_caps;
#if ENABLE_PREVIEW_LAYER_TIME