compositor: Remove dead code: META_DISABLE_MIPMAPS

Seems to have been unused for quite some time.
This commit is contained in:
Daniel van Vugt 2018-07-03 15:15:54 +08:00
parent 859bea629b
commit 04e411c2c0
2 changed files with 0 additions and 4 deletions

View File

@ -22,7 +22,6 @@ struct _MetaCompositor
gint64 server_time_offset; gint64 server_time_offset;
guint server_time_is_monotonic_time : 1; guint server_time_is_monotonic_time : 1;
guint no_mipmaps : 1;
ClutterActor *stage, *window_group, *top_window_group, *feedback_group; ClutterActor *stage, *window_group, *top_window_group, *feedback_group;
ClutterActor *background_actor; ClutterActor *background_actor;

View File

@ -1241,9 +1241,6 @@ meta_compositor_new (MetaDisplay *display)
compositor->display = display; compositor->display = display;
compositor->context = clutter_backend->cogl_context; compositor->context = clutter_backend->cogl_context;
if (g_getenv("META_DISABLE_MIPMAPS"))
compositor->no_mipmaps = TRUE;
g_signal_connect (meta_shadow_factory_get_default (), g_signal_connect (meta_shadow_factory_get_default (),
"changed", "changed",
G_CALLBACK (on_shadow_factory_changed), G_CALLBACK (on_shadow_factory_changed),