[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:
Robert Bragg 2009-11-05 10:56:24 +00:00
parent 272e227109
commit c1d9e09d38

View File

@ -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;
} }