Pass surface to text_model_factory_create_text_model.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=54502
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
char buf[64];
int len;
- display->text_model = text_model_factory_create_text_model(display->factory);
+ display->text_model = text_model_factory_create_text_model(display->factory, display->surface);
text_model_add_listener(display->text_model, &text_model_listener, display);
wl_display_flush(display->display);