Fix missing break statements in glStencilViewer

Changing adaptive subdivision option was affecting on
infinite sharp path option.
This commit is contained in:
Sergey Sharybin 2018-07-04 11:44:27 +02:00
parent 74601558e3
commit ded704f72a

View File

@ -948,9 +948,11 @@ callbackCheckBox(bool checked, int button) {
case kHUD_CB_ADAPTIVE:
g_adaptive = checked;
rebuildMesh();
break;
case kHUD_CB_INF_SHARP_PATCH:
g_infSharpPatch = checked;
rebuildMesh();
break;
}
}