mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
stage-cogl: Fix feature check in clutter_stage_cogl_redraw
We do not strictly require the 'swap-region' Cogl feature in order to use clipped redraws: they work equally well with just the 'buffer-age' Cogl feature. https://bugzilla.gnome.org/show_bug.cgi?id=726313
This commit is contained in:
parent
f649d732f9
commit
06387c3fd7
@ -448,7 +448,7 @@ clutter_stage_cogl_redraw (ClutterStageWindow *stage_window)
|
||||
|
||||
may_use_clipped_redraw = FALSE;
|
||||
if (_clutter_stage_window_can_clip_redraws (stage_window) &&
|
||||
can_blit_sub_buffer &&
|
||||
(can_blit_sub_buffer || has_buffer_age) &&
|
||||
have_clip &&
|
||||
/* some drivers struggle to get going and produce some junk
|
||||
* frames when starting up... */
|
||||
|
Loading…
Reference in New Issue
Block a user