Skip to content

Commit

Permalink
fixing build error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wkjarosz committed Oct 30, 2023
1 parent 22515e2 commit 91883ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/SampleViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ bool SampleViewer::keyboard_event(int key, int scancode, int action, int modifie
{
float delta = (modifiers & GLFW_MOD_SHIFT) ? 1.0f / 15 : 1.0f / 60;
delta *= (key == GLFW_KEY_RIGHT) ? 1.f : -1.f;
m_target_point_count = mapSlider2Count(std::clamp(m_point_count_slider->value() + delta, 0.0f, 1.0f));
m_target_point_count = mapSlider2Count(::clamp(m_point_count_slider->value() + delta, 0.0f, 1.0f));
update_GPU_points();
update_GPU_grids();
return true;
Expand Down

0 comments on commit 91883ed

Please sign in to comment.