mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
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:
parent
e9b5eb3045
commit
7501f3b4f9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user