mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
[clip-stack] stop using deprecated cogl_clip_push_window_rect API
try_pushing_rect_as_window_rect now uses the new cogl_clip_push_window_rectangle API.
This commit is contained in:
parent
272e227109
commit
c1d9e09d38
@ -481,7 +481,7 @@ try_pushing_rect_as_window_rect (float x_1,
|
|||||||
SWAP (y_1, y_2);
|
SWAP (y_1, y_2);
|
||||||
#undef SWAP
|
#undef SWAP
|
||||||
|
|
||||||
cogl_clip_push_window_rect (x_1, y_1, x_2 - x_1, y_2 - y_1);
|
cogl_clip_push_window_rectangle (x_1, y_1, x_2 - x_1, y_2 - y_1);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user