Fix clutter-bakend-win32.c
The VBLANK environmental variable is done universally in clutter-main.c as in commitse8562089
(main: Add a sync-to-vblank global flag) anddb211a21
(Remove per-backend CLUTTER_VBLANK envvar), so remove these things here as well. https://bugzilla.gnome.org/show_bug.cgi?id=663999
This commit is contained in:
parent
65a07db5c0
commit
bbe54aa2ec
@ -80,24 +80,6 @@ _clutter_backend_win32_get_invisible_cursor (ClutterBackend *backend)
|
|||||||
return backend_win32->invisible_cursor;
|
return backend_win32->invisible_cursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const GOptionEntry entries[] =
|
|
||||||
{
|
|
||||||
{
|
|
||||||
"vblank", 0,
|
|
||||||
0,
|
|
||||||
G_OPTION_ARG_STRING, &clutter_vblank_name,
|
|
||||||
"VBlank method to be used (none, default or wgl)", "METHOD"
|
|
||||||
},
|
|
||||||
{ NULL }
|
|
||||||
};
|
|
||||||
|
|
||||||
void
|
|
||||||
clutter_backend_win32_add_options (ClutterBackend *backend,
|
|
||||||
GOptionGroup *group)
|
|
||||||
{
|
|
||||||
g_option_group_add_entries (group, entries);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
clutter_backend_win32_finalize (GObject *gobject)
|
clutter_backend_win32_finalize (GObject *gobject)
|
||||||
{
|
{
|
||||||
@ -204,7 +186,6 @@ clutter_backend_win32_class_init (ClutterBackendWin32Class *klass)
|
|||||||
backend_class->stage_window_type = CLUTTER_TYPE_STAGE_WIN32;
|
backend_class->stage_window_type = CLUTTER_TYPE_STAGE_WIN32;
|
||||||
|
|
||||||
backend_class->init_events = clutter_backend_win32_init_events;
|
backend_class->init_events = clutter_backend_win32_init_events;
|
||||||
backend_class->add_options = clutter_backend_win32_add_options;
|
|
||||||
backend_class->get_features = clutter_backend_win32_get_features;
|
backend_class->get_features = clutter_backend_win32_get_features;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user