forked from enlightenment/enlightenment
e_int_config_comp: Don't display vsync checkbox if opengl is not
supported. ref T8553
This commit is contained in:
parent
ac4323b453
commit
468c46d850
|
@ -445,9 +445,12 @@ _basic_create_widgets(E_Config_Dialog *cfd,
|
||||||
|
|
||||||
of = e_widget_framelist_add(evas, _("Behavior"), 0);
|
of = e_widget_framelist_add(evas, _("Behavior"), 0);
|
||||||
|
|
||||||
ob = e_widget_check_add(evas, _("Tear-free updates (VSynced)"), &(cfdata->vsync));
|
if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_OPENGL_X11))
|
||||||
e_widget_framelist_object_append(of, ob);
|
{
|
||||||
|
ob = e_widget_check_add(evas, _("Tear-free updates (VSynced)"), &(cfdata->vsync));
|
||||||
|
e_widget_framelist_object_append(of, ob);
|
||||||
|
}
|
||||||
|
|
||||||
ob = e_widget_check_add(evas, _("Smooth scaling of window content"), &(cfdata->smooth_windows));
|
ob = e_widget_check_add(evas, _("Smooth scaling of window content"), &(cfdata->smooth_windows));
|
||||||
e_widget_framelist_object_append(of, ob);
|
e_widget_framelist_object_append(of, ob);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue