Hi, I'm testing clutter on existing x11 window.
clutter_texture_new_from_file always failed if I call the function after I call clutter_x11_set_stage_foreign. If I call the function before, I works well. I traced the code and I saw _cogl_texture_size_supported was failed for all sizes. One more thing to tell is that if I didn't set display to clutter, it works well. The above thing will only happen when I set display before clutter_init. I attached the test code and I've tested the code in linux PC environment. Regards, Louis JANG
sample.c
Description: Binary data
