tests: Force X11 backend for the pixmap test

So it's usable as long as the X11 backend support is compiled into
Clutter — and we can use this test to check that overriding works
as intended.
This commit is contained in:
Emmanuele Bassi 2015-12-11 15:51:30 +00:00
parent e9b5eb3045
commit 7501f3b4f9

View File

@ -211,6 +211,10 @@ test_pixmap_main (int argc, char **argv)
int i;
int row_height;
#ifdef CLUTTER_WINDOWING_X11
clutter_set_windowing_backend (CLUTTER_WINDOWING_X11);
#endif
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return 1;